Search for messages matching a given indexation key.
GET/api/v1/messages
Search for messages matching a given indexation key.
Request
Query Parameters
Hex-encoded indexation key that should be searched for.
Responses
- 200
- 400
- 403
- 500
Successful operation.
- application/json
- Schema
- Example (from schema)
- default
Schema
data objectrequired
The provided hex-encoded indexation key that was used to search for.
The number of results it can return at most.
The actual number of found results.
The identifiers of the found messages that match the given indexation key.
{
"data": {
"index": "string",
"maxResults": 0,
"count": 0,
"messageIds": [
"string"
]
}
}
{
"data": {
"index": "68656c6c6f20776f726c64",
"maxResults": 1000,
"count": 2,
"messageIds": [
"f532a53545103276b46876c473846d98648ee418468bce76df4868648dd73e5d",
"7ed3d67fc7b619e72e588f51fef2379e43e6e9a856635843b3f29aa3a3f1f006"
]
}
}
Unsuccessful operation: indicates that the provided data is invalid.
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
The application error code.
The error reason.
{
"error": {
"code": 400,
"message": "invalid data provided"
}
}
Unsuccessful operation: indicates that the endpoint is not available for public use.
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
The application error code.
The error reason.
{
"error": {
"code": 403,
"message": "not available for public use"
}
}
Unsuccessful operation: indicates that an unexpected, internal server error happened which prevented the node from fulfilling the request.
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
The application error code.
The error reason.
{
"error": {
"code": 500,
"message": "internal server error"
}
}