Editor Agent

post/editor-agent/preferences

Request

  • Base URL: https://app.openpo.st/api/v1
  • URL: https://app.openpo.st/api/v1/editor-agent/preferences
  • Auth: one of:
    • HTTP bearer
    • API key in cookie openpost_session

Request body

$schemastring uri

A URL to the JSON Schema for this object.

expected_revisioninteger required
workspace_idstring required

Example request

{
  "$schema": "https://example.com/api/v1/schemas/EditorPreferenceSaveInputBody.json",
  "preference": {
    "$schema": "https://example.com/api/v1/schemas/Preference.json"
  }
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

contextstring required
editor_kind'video' | 'image' | 'both' required
enabledboolean required
idstring
project_idstring required
revisioninteger
rulestring required
source_instructionstring required
updated_atstring date-time
workspace_idstring

Example response

{
  "$schema": "https://example.com/api/v1/schemas/Preference.json"
}

Changes

No recorded changes to this operation across all 1 revision of this API.