Teams

Replace article file

Replace the current client-owned article document or Google Doc.

post/teams/{slug}/articles/{article_id}/replace-file

Request

  • Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.presscart.com/teams/{slug}/articles/{article_id}/replace-file
  • Auth: HTTP bearer

Path parameters

slugstring required
Example:team-a
article_idstring uuid required
Example:79e3ba77-da80-4fda-991c-0a1bffdc8ee1

Request body

source'google_doc' | 'file_attachment' required
google_doc_urlstring nullable
file_idstring uuid nullable
namestring

Response

Article file replaced successfully

idstring uuid required
comment_idstring nullable required

Changes

No recorded changes to this operation across all 2 revisions of this API.