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
- projectId string required
- grantId string required
Query Parameters
- query.sequence uint64
sequence represents the order of events. It's always counting
- query.limit int64
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.
- query.asc boolean
default is descending
Header Parameters
- x-zitadel-orgid string
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.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
result object[]
Array [changeDate date-timethe creation date of an event
eventType object
key stringlocalizedMessage stringsequence uint64editorId stringthe id of the user who created the event
editorDisplayName stringthe display name of the editor
resourceOwnerId stringthe organization the event belongs to
editorPreferredLoginName stringthe preferred login name of the editor
editorAvatarUrl stringavatar URL of the editor
]
{
"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
- Example (from schema)
Schema
result object[]
Array [changeDate date-timethe creation date of an event
eventType object
key stringlocalizedMessage stringsequence uint64editorId stringthe id of the user who created the event
editorDisplayName stringthe display name of the editor
resourceOwnerId stringthe organization the event belongs to
editorPreferredLoginName stringthe preferred login name of the editor
editorAvatarUrl stringavatar URL of the editor
]
{
"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
- Example (from schema)
Schema
result object[]
Array [changeDate date-timethe creation date of an event
eventType object
key stringlocalizedMessage stringsequence uint64editorId stringthe id of the user who created the event
editorDisplayName stringthe display name of the editor
resourceOwnerId stringthe organization the event belongs to
editorPreferredLoginName stringthe preferred login name of the editor
editorAvatarUrl stringavatar URL of the editor
]
{
"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.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}