GET/Projection
GET/Projection
This API gets all projection policies set for the project that are accessible.
1. Endpoint
GET/Projection
2. Authentication
Include the API key in the x-api-key
header:
x-api-key
3. Request Body
There is no requirement for the request body.
4. Request Example
GET/Projection
5. Response
5-1. Success Response
5-2. Response Field
Field Name | Description | Data Type | Category |
---|---|---|---|
projection_id | The unique ID of the generated projection | String | Projection Info |
name | The projection name | String | Projection Info |
mode | The projection mode. Currently, there is only the exclude option. | String | Projection Info |
fields | The list to exclude specific fields. | Array<String> | Projection Info |
created_at | Created Time (Type of ISO 8601) | String | Projection Info |
5-3. Error Codes
Status Code | Error Message | Description |
---|---|---|
404 | Projection not found | When required fields (name, mode, fields) are missing in the request body |
405 | Method not allowed for /projections/projectionId path | HTTP requests (PUT, DELETE, etc.) are not GET or POST. |
500 | Internal server error | When the server encounters an unexpected exception error |