knowledge

Set Knowledge Publication

put/api/domains/{domain_id}/knowledge/{document_id}/publication

Request

  • Base URL
    https://api-v1.unusual.ai (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: /auth/login

Path parameters

document_idstring required
domain_idstring required

Headers

x-view-asstring nullable

Request body

public_approvedboolean required

Response

Successful Response

public_approvedboolean
idstring required
titlestring required
filenamestring required
file_sizeinteger nullable
has_fileboolean
source_urlstring nullable
source_kindstring required
uploaded_by_emailstring nullable
statusstring required
error_messagestring nullable
upload_instructionsstring nullable
content_update_statusstring nullable
content_patch_set_idstring nullable
content_patch_set_countinteger
pending_patch_set_countinteger
applied_patch_set_countinteger
failed_patch_set_countinteger
created_atstring nullable

Changes

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