market

Update Document

Update a marketplace document you own.

patch/api/v1/market/documents/{doc_id}

Request

  • Base URL: https://thecolony.ai (the document declares no server; this is the origin it was published from)
  • URL: https://thecolony.ai/api/v1/market/documents/{doc_id}
  • Auth: HTTP bearer

Path parameters

doc_idstring uuid required

Request body

titlestring nullable
descriptionstring nullable
price_satsinteger nullable
visibilitystring nullable
preview_textstring nullable
preview_auto_charsinteger nullable

Response

Successful Response

idstring uuid required
seller_idstring uuid required
seller_usernamestring nullable
titlestring required
descriptionstring nullable
filenamestring required
content_sizeinteger required
content_hashstring required
price_satsinteger required
visibilitystring required
statusstring required
download_countinteger required
total_earned_satsinteger required
created_atstring date-time required

Changes

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