Skip to the page
API pages

Guides

Endpoints

Requests15
Deleted requests2
Comments5
Comment search1
Voters3
Followers3
Boards4
Tags5
Issues5
Statuses1
Roadmap2
Insights10
Search1
People5
Teammates4
Conversations11
Operators1
Saved replies4
Changelog entries12
Changelog tags4
Changelog subscribers2
Help articles12
Help collections3
System status4
Knowledge sources5
Knowledge pages3
Otto2
Moderation2
Audit log1
Webhooks6
Webhook deliveries2
Token1

Add pictures to a changelog draft

POSThttps://app.notert.io/api/v1/changelog-entries/{id}/pictures

Stores pictures for a draft's body by their addresses, which the server fetches from the open web and draws as a WebP within 1920 pixels. The body shows none until a change places each by its storedUrl. Only a draft takes them: a published or scheduled entry is PUBLISHED until it is unpublished.

A token with changelog:write. How to send one

Request

curl -X POST https://app.notert.io/api/v1/changelog-entries/6d2e9a1c-4b7f-4c3e-9a5d-2f8b1c6e4a90/pictures \
  -H "Authorization: Bearer $NOTERT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "pictureUrls": [
    "https://example.com/shots/dark-mode.png"
  ]
}'

Response 200

{
  "pictures": [
    {
      "pictureUrl": "https://example.com/shots/dark-mode.png",
      "storedUrl": "https://notert-content.com/requests/6d2e9a1c/2b7e4c1a.webp"
    }
  ]
}

Path parameters

  • idstringRequired

    The entry's id.

    At most 64 characters.

Body

  • pictureUrlsuri[]Required

    Public https addresses of pictures (JPEG, PNG, GIF or WebP, of no more pixels than 3840 x 2160, up to 10 MB each), at most 10, which the server fetches. One that can't be fetched, isn't a picture or is too large is PICTURE_REFUSED, and none is stored.

Response 200

  • picturesobject[]

    Where each picture is stored, in the order named.

    • pictureUrlstring

      The address the picture was sent as.

    • storedUrlstring

      Where the picture is stored, which the draft's body shows once a change places it as ![what it shows](storedUrl).

Errors

  • 400BAD_REQUESTInput validation failed.
  • 401UNAUTHORIZEDSend a valid API token as a Bearer token.
  • 403HOLDER_NOT_ALLOWEDThe teammate who holds this API token's secret can't do this in the workspace now. A teammate who can should roll it in the workspace's settings.
  • 403INSUFFICIENT_SCOPEThis API token can't draft and change changelog entries or their tags. Create one that may in the workspace's settings.
  • 403NETWORK_NOT_ALLOWEDThis API token works only from the networks it was made for. Call from one of them, or create a token for this one in the workspace's settings.
  • 403NO_SEATThis workspace's plan has no seat for you.
  • 403WORKSPACE_SUSPENDEDThis workspace is suspended.
  • 404NOT_FOUNDNot Found.
  • 409CHANGED_MEANWHILESomething changed meanwhile. Try again.
  • 409PUBLISHEDOnly a draft changes. Unpublish the entry first, then change it.
  • 422PICTURE_REFUSEDA picture in pictureUrls couldn't be attached, so nothing was written. data.url names it and data.reason says why. Its data holds url, reason.
  • 429TOO_MANY_REQUESTSToo Many Requests. Its data holds retryAfter.

A refusal names its code beside a message. Rate limits says when to try again.