Get User Metadata By Key
GET/users/:id/metadata/:key
Get a metadata object from a user by a specific key.
Request​
Path Parameters
Header Parameters
The default is always the organization of the requesting user. If you like to get users of another organization include the header. Make sure the user has permission to access the requested data.
Responses​
- 200
- default
A successful response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
metadata
object
details
object
on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the first event of the object
on create: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the last event reduced by the projection
on manipulation: the
metadata key
metadata value is base64 encoded, make sure to decode to get the value
{
"metadata": {
"details": {
"sequence": "2",
"creationDate": "2024-11-22T16:27:07.133Z",
"changeDate": "2024-11-22T16:27:07.133Z",
"resourceOwner": "69629023906488334"
},
"key": "key1",
"value": "VGhpcyBpcyBteSBmaXJzdCB2YWx1ZQ=="
}
}
- Schema
- Example (from schema)
Schema
metadata
object
details
object
on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the first event of the object
on create: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the last event reduced by the projection
on manipulation: the
metadata key
metadata value is base64 encoded, make sure to decode to get the value
{
"metadata": {
"details": {
"sequence": "2",
"creationDate": "2024-11-22T16:27:07.133Z",
"changeDate": "2024-11-22T16:27:07.133Z",
"resourceOwner": "69629023906488334"
},
"key": "key1",
"value": "VGhpcyBpcyBteSBmaXJzdCB2YWx1ZQ=="
}
}
- Schema
- Example (from schema)
Schema
metadata
object
details
object
on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the first event of the object
on create: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the last event reduced by the projection
on manipulation: the
metadata key
metadata value is base64 encoded, make sure to decode to get the value
{
"metadata": {
"details": {
"sequence": "2",
"creationDate": "2024-11-22T16:27:07.133Z",
"changeDate": "2024-11-22T16:27:07.133Z",
"resourceOwner": "69629023906488334"
},
"key": "key1",
"value": "VGhpcyBpcyBteSBmaXJzdCB2YWx1ZQ=="
}
}
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}