Project Grant History​
Returns a list of changes/events that have happened on the project grant. It's the history of the project. Make sure to send a limit.
Path Parameters
Query Parameters
sequence represents the order of events. It's always counting
Maximum amount of events returned. The default is set to 1000 in https://github.com/zitadel/zitadel/blob/new-eventstore/cmd/zitadel/startup.yaml. If no limit is set or the limit exceeds the maximum configured ZITADEL will throw an error. If no limit is present the default is taken.
default is descending
Header Parameters
The default is always the organization of the requesting user. If you like to change/get objects of another organization include the header. Make sure the requesting user has permission to access the requested data.
- 200
- default
A successful response.
Schema
result object[]
{
"result": [
{
"changeDate": "2019-04-01T08:45:00.000000Z",
"eventType": {
"key": "string",
"localizedMessage": "string"
},
"sequence": "2",
"editorId": "69629023906488334",
"editorDisplayName": "Gigi Giraffe",
"resourceOwnerId": "69629023906488334",
"editorPreferredLoginName": "gigi@acme.zitadel.ch",
"editorAvatarUrl": "https://api.zitadel.ch/assets/v1/avatar-32432jkh4kj32"
}
]
}
Schema
result object[]
{
"result": [
{
"changeDate": "2019-04-01T08:45:00.000000Z",
"eventType": {
"key": "string",
"localizedMessage": "string"
},
"sequence": "2",
"editorId": "69629023906488334",
"editorDisplayName": "Gigi Giraffe",
"resourceOwnerId": "69629023906488334",
"editorPreferredLoginName": "gigi@acme.zitadel.ch",
"editorAvatarUrl": "https://api.zitadel.ch/assets/v1/avatar-32432jkh4kj32"
}
]
}
Schema
result object[]
{
"result": [
{
"changeDate": "2019-04-01T08:45:00.000000Z",
"eventType": {
"key": "string",
"localizedMessage": "string"
},
"sequence": "2",
"editorId": "69629023906488334",
"editorDisplayName": "Gigi Giraffe",
"resourceOwnerId": "69629023906488334",
"editorPreferredLoginName": "gigi@acme.zitadel.ch",
"editorAvatarUrl": "https://api.zitadel.ch/assets/v1/avatar-32432jkh4kj32"
}
]
}
An unexpected error response.
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
POST /projects/:projectId/grants/:grantId/changes/_search
Authorization
name: OAuth2type: oauth2scopes:openid,urn:zitadel:iam:org:project:id:zitadel:aud
flows: { "authorizationCode": { "authorizationUrl": "$CUSTOM-DOMAIN/oauth/v2/authorize", "tokenUrl": "$CUSTOM-DOMAIN/oauth/v2/token", "scopes": { "openid": "openid", "urn:zitadel:iam:org:project:id:zitadel:aud": "urn:zitadel:iam:org:project:id:zitadel:aud" } } }
Request
Request
curl -L -X POST 'https://$CUSTOM-DOMAIN/management/v1/projects/:projectId/grants/:grantId/changes/_search' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X POST 'https://$CUSTOM-DOMAIN/management/v1/projects/:projectId/grants/:grantId/changes/_search' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X POST 'https://$CUSTOM-DOMAIN/management/v1/projects/:projectId/grants/:grantId/changes/_search' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X POST 'https://$CUSTOM-DOMAIN/management/v1/projects/:projectId/grants/:grantId/changes/_search' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X POST 'https://$CUSTOM-DOMAIN/management/v1/projects/:projectId/grants/:grantId/changes/_search' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X POST 'https://$CUSTOM-DOMAIN/management/v1/projects/:projectId/grants/:grantId/changes/_search' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X POST 'https://$CUSTOM-DOMAIN/management/v1/projects/:projectId/grants/:grantId/changes/_search' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X POST 'https://$CUSTOM-DOMAIN/management/v1/projects/:projectId/grants/:grantId/changes/_search' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X POST 'https://$CUSTOM-DOMAIN/management/v1/projects/:projectId/grants/:grantId/changes/_search' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'