Set a remote target Skill desired Revision

POST
/v1/skill/remote/publication/publish

Advance only Server-owned desired state; delivery is confirmed later by an exact Receipt.

Authorization

BearerAuth
AuthorizationBearer <token>

Static bearer token used when local Server authentication is enabled.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/skill/remote/publication/publish" \  -H "Content-Type: application/json" \  -d '{    "scope_id": "string",    "target_id": "string",    "artifact": {      "family": "string",      "artifact_id": "string",      "revision": 1    },    "expected_generation": 0  }'
{  "scope_id": "string",  "target_id": "string",  "artifact_id": "string",  "desired_state": "published",  "desired_revision": 1,  "desired_tree_digest": "string",  "observed_revision": 1,  "observed_tree_digest": "string",  "observed_generation": 0,  "state": "unpublished",  "last_error_code": "string",  "observed_at": "2019-08-24T14:15:22Z",  "generation": 0}