Record the link of a published post the platform returned none for
PUT
http://localhost:4000/api/v1 /posts/{id}/remote targetId is the id of one of the post's targets, part the index of the part (0 for the post itself, 1 and up for thread entries). remoteUrl becomes the part's link; remoteId, when you know the platform's own id, replaces the stored one so analytics and replies can find the post.
Parameters
idstring
path
required
Request body
application/json
targetIdstring
required
partinteger
remoteIdstring
remoteUrlstring
required
{
"targetId": "string",
"part": 0,
"remoteId": "string",
"remoteUrl": "string"
}Code samples
cURL
curl -X PUT "http://localhost:4000/api/v1/posts/{id}/remote" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"targetId":"string","part":0,"remoteId":"string","remoteUrl":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{}Option 1
{}Option 2
{}Updated