discover-external-post-asset action endpoint

URL: /blogs/<id>/discover-external-post-asset.<format>

Supported Methods

POST If the selected blog is a connected blog, create or retrieve the external post stub for the given permalink.

POST Request Object Type

This endpoint accepts the following properties in POST requests:

permalinkUrl (string)
(Required) The URL of the page whose external post stub is being retrieved.

Response Object Type

This endpoint returns an object with the following properties:

asset (Asset)
The asset that acts as a stub for the given permalink.

Client Library Methods for PHP

If the selected blog is a connected blog, create or retrieve the external post stub for the given permalink.
$tp->blogs->discoverExternalPostAsset(array(

    # Required Parameters
    "id" => $id,
    "payload" => $payload,

))