JustFlows

Management API / Content

Publish content

POST/api/manage/v1/content/{id}/publish

Publishes an entry, including any pending working revision.

Authorization

  • Authorizationheaderrequired

    Bearer jfk_…: an API key created in Admin → Settings → API.

  • Required capabilitycontent:publish

    The key and its owner must both hold it. Content scopes on the key are applied to this request as well.

Path parameters

  • idstringrequired

    The resource id.

Body

application/json
  • expectedVersioninteger

    Optional. Rejects the publish if the entry changed since you read it.

Response

  • 200OK
  • 401Missing, unknown, revoked, expired, or out-of-scope key.
  • 403The key or its owner lacks the required capability or scope.
  • 404No such resource on this site.
  • 429Per-key or per-IP rate limit exceeded. Wait for the seconds in Retry-After.