Langsung ke konten utama
POST
/
sites
/
{siteId}
/
notes
Buat catatan situs
curl --request POST \
  --url https://api.altostrat.io/sites/{siteId}/notes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Instruksi Instalasi",
  "body": "### Langkah 1\nHubungkan antarmuka WAN utama."
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

Token pembawa (bearer token) diperlukan untuk semua permintaan API.

Path Parameters

siteId
string
required

Pengidentifikasi unik untuk situs.

Body

application/json

Konten catatan.

name
string
required

Judul untuk catatan. Ini akan digunakan untuk menghasilkan nama file.

Example:

"Instruksi Instalasi"

body
string
required

Konten lengkap catatan dalam format Markdown.

Example:

"### Langkah 1\nHubungkan antarmuka WAN utama."

Response

Catatan berhasil dibuat.