Articles

Import from the Drive folder

At most fifty documents at a time. A broken document does not stop the rest: the result has one entry per file, with either the article count or its error.

The chosen image is downloaded once and used for every document that has none in its body.

Required scope: ARTICLES_WRITE.

post/partner/articles/drive

Request

  • Base URL: https://app.comunicate.eu/api/v1
  • URL: https://app.comunicate.eu/api/v1/partner/articles/drive
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://app.comunicate.eu/api/v1/oauth/authorize, token URL https://app.comunicate.eu/api/v1/oauth/token, scopes: ARTICLES_WRITE)

Request body

linkstring required

The same folder link used for the listing. Every requested file is checked against it: downloads use the platform account, which also sees other clients’ folders, so the route does not accept arbitrary Drive identifiers.

fisierestring required

The chosen documents, with id, nume and mimeType from the listing.

imagineIdstring

The id of an image in the same folder, used as the featured image.

campaignIdstring uuid

The campaign the articles belong to.

Response

OK

object required

Changes

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