Versions_GetMergeHistory
const url = 'https://dev-api.qualiastudios.dev/v1/accounts/example/datasets/example/mergeHistory';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://dev-api.qualiastudios.dev/v1/accounts/example/datasets/example/mergeHistory \ --header 'X-API-Key: <X-API-Key>'Reads the merge and revert events for one dataset, newest first. A merge is final (QUA-3511): the reverts recorded before then are history, and no entry can be reverted now.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The account id.
The dataset id.
Responses
Section titled “ Responses ”OK
The merge and revert history of a dataset.
object
Accounts/{account}/datasets/{dataset}/mergeHistory
Merge and revert events, newest first.
The merge or revert event in the dataset event stream.
object
The merge or revert event in the dataset event stream.
DATASETS_MERGED or EVENT_REVERTED.
User, agent or system identity that made the change.
object
What kind of actor it is.
The person’s user id when kind is PERSON; empty otherwise.
The person’s display name at the time, for rendering without a lookup.
The rule code, or the model id (e.g. “gemini-robotics-er”), when not a person.
The run a model or rule finding came from, when it has one.
The API key’s id when a person acted through one; empty for a session. Never the key itself.
Signed identity evidence recorded with the change, kept apart from the principal above. Unset on older records and wherever none was signed.
object
How the principal authenticated.
The user id of a person verified as starting the work: the person of a session, or the person a trusted service’s signed job record names. Empty when nobody was verified.
The initiator’s display name at the time, never their email.
The user id of the key’s creator at the time. Not who used the key.
Who owned the key at the time.
The owning space’s id (a workspace or the organization) when
credential_owner is SPACE.
RFC 3339 event time.
Uploads joined by this merge, or released by its revert.
For EVENT_REVERTED, the DATASETS_MERGED event it reverses.
For DATASETS_MERGED, true after a revert event was recorded.
For DATASETS_MERGED, whether RevertMerge can reverse this entry: always false since merges are final (QUA-3511).
True when the merge appended to an existing merged dataset.
Example
{ "entries": [ { "actor": { "kind": "KIND_UNSPECIFIED", "attribution": { "authentication": "AUTHENTICATION_UNSPECIFIED", "credentialOwner": "CREDENTIAL_OWNER_UNSPECIFIED" } } } ]}default
Section titled “default ”Default error response
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.
object
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
A list of messages that carry the error details. There is a common set of message types for APIs to use.
Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
object
The type of the serialized message.
Example generated
{ "code": 1, "message": "example", "details": [ { "@type": "example" } ]}