Read an Artifact's current governance state

GET
/v1/scopes/{scope_id}/artifacts/{family}/{artifact_id}/governance

Returns the lifecycle state, state version and merge target that forget, merge and restoration check. Available for every Family registered with the shared merge service.

Authorization

BearerAuth
AuthorizationBearer <token>

Bearer credential resolved to an opaque authenticated Principal by the Server deployment.

In: header

Path Parameters

scope_id*string
Match.*\S.*
Length1 <= length <= 256
family*string
Match^[a-z][a-z0-9-]*$
Length1 <= length <= 128
artifact_id*string
Match^[\x21-\x7E]+$
Length1 <= length <= 128

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/scopes/string/artifacts/string/string/governance"
{  "artifact": {    "family": "string",    "artifact_id": "string",    "revision": 1  },  "lifecycle_state": "active",  "state_version": 0,  "merged_into_id": "string"}