Posts Api Service

Update an existing library post.

put/v2/scheduler/library/posts/{id}

Request

  • Base URL: https://app.metricool.com/api
  • URL: https://app.metricool.com/api/v2/scheduler/library/posts/{id}
  • Auth: none declared

Path parameters

idinteger required

id of the post to update

Request body

idinteger
shortenerboolean
draftboolean
saveExternalMediaFilesboolean
parentIdinteger
descendantsLibraryPostDto[] circular
hasNotReadNotesboolean
tagsstring
performanceDashboardIdsinteger[]

Example request

{
  "notes": [
    {
      "mentions": [
        {
          "userId": 12345,
          "agencyId": 37,
          "agencyUserId": 156
        }
      ],
      "mentionId": "a:37:156"
    }
  ],
  "assignee": {
    "userId": 12345,
    "agencyId": 42,
    "agencyUserId": 7
  },
  "state": {
    "id": 123
  }
}

Response

OK

metadataobject

Example response

{
  "data": {
    "notes": [
      {
        "mentions": [
          {
            "userId": 12345,
            "agencyId": 37,
            "agencyUserId": 156
          }
        ],
        "mentionId": "a:37:156"
      }
    ],
    "assignee": {
      "userId": 12345,
      "agencyId": 42,
      "agencyUserId": 7
    },
    "state": {
      "id": 123
    }
  }
}

Changes

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