Create a durable Source

POST
/v1/scopes/{scope_id}/sources

Persist one Source without synchronously deriving Artifacts. The Server generates source_id.

Authorization

BearerAuth
AuthorizationBearer <token>

Static bearer token used when local Server authentication is enabled.

In: header

Path Parameters

scope_id*string
Match.*\S.*
Length1 <= length <= 256

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/scopes/string/sources" \  -H "Content-Type: application/json" \  -d '{    "content": null  }'
{  "scope_id": "string",  "source_type": "content",  "source_id": "string",  "content": null,  "position": 1,  "content_digest": "string"}