Replace the current Artifact head
Commit a complete next revision when If-Match identifies the current head.
Authorization
BearerAuth AuthorizationBearer <token>
Static bearer token used when local Server authentication is enabled.
In: header
Path Parameters
scope_id*string
Match
.*\S.*Length
1 <= length <= 256family*string
Value in
- "memory"
- "experience"
- "skill"
- "handoff"
artifact_id*string
Match
^[\x21-\x7E]+$Length
1 <= length <= 128Header Parameters
If-Match*string
Length
1 <= lengthRequest 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
application/json
application/json
curl -X PUT "https://example.com/v1/scopes/string/artifacts/memory/string" \ -H "If-Match: string" \ -H "Content-Type: application/json" \ -d '{ "content": { "entries": [ { "kind": "string", "text": "string" } ] } }'{ "scope_id": "string", "family": "memory", "artifact_id": "string", "revision": 1, "content": {}, "sources": [ { "source_type": "content", "source_id": "string" } ], "artifacts": [ { "family": "string", "artifact_id": "string", "revision": 1 } ], "content_digest": "string"}
