Knowledge
PUT
/api/v1/workspaces/{workspaceId}/knowledge/sites/{siteId}/pages/{pageId}/api-code-samples
Scope knowledge:write
Set per-language code samples on an API documentation page. An empty sample clears that language back to the generated snippet.
Pfad
siteIdPflicht
string (uuid)
Knowledge site identifier.
pageIdPflicht
string (uuid)
Page identifier.
workspaceIdPflicht
string
Workspace that owns the resource.
Antworten
200KnowledgeApiRefDtoThe request succeeded. The JSON body contains url, data, and meta. The linked schema is data.
Knowledge API ref.