Schema API
Datastreamer primarily relies on the JSON schemas that need to be managed by the developers incorporating Datastreamer API's into their applications.
Endpoint | Type | Description |
---|---|---|
Create Schema from Posted JSON | POST | This endpoint enables developers to generate Datastreamer-validated schema from the posted JSON. |
Update Schema from Posted JSON | PUT | Any existing schema can be updated by passing the relevant updated parameters in the request body. |
Gets all Schemas Associated with ApiKey | GET | Each API Key is associated with a unique client based on which all associated schemas are extracted using this endpoint. |
Validate Schema from Posted JSON | POST | Certain validation rules are applied over each schema before posting or updating. This endpoint validates the schema as per the applied validation rules. |
Deactivate Schema | DELETE | This endpoint deactivates any existing schema based on the provided schema name. |
Retrieves Schema by Name | GET | This endpoint retrieves the schema details by provided schema name. |
Reactivate Schema | PUT | Any deactivated schema can be reactivated through this endpoint. |
Get Schema by Request ID | GET | This endpoint retrieves the entire schema details as per the provided ID. |
Get All Schemas | GET | All available schemas under the relevant API key are retrieved using this endpoint. |
Retrieve Schema Status | GET | The schema is either enabled or disabled and can be queried by using this endpoint. |
Get Request against Schema | GET | Gets all requests associated with a given schema. |
Updated 11 months ago