get https://ioe.droplit.io/v0/api/serviceclasses/curated/
Details
Get a curated service class.
Curated service classes are those which are part of the Droplit system by default. Unlike service classes created by the user, which have a “Custom” type, their type is “Curated.” Curated service classes are not connected to specific ecosystems, and cannot be edited by users.
An account token, server token, or user token may be used to run this endpoint.
Parameters
path
- curatedName (required): The unique name of a curated service class.
Responses
200
{
"createdAt": "YYYY-MM-DD HH:MM:SS ENCODED",
"name": "SERVICE-CLASS-NAME",
"service": {}
}
400
- No Query String Allowed: The standard error structure defines this error as invalid parameters, with additional parameters in the query string. In this context, it means that no query string is allowed at all when calling this endpoint.
404
- Service Not Found: This error means that a service by the given name and/or format was not found.
Examples
HTTP
GET https://ioe.droplit.io/api/serviceclasses/curated/CURATED-SERVICE-CLASS-NAME HTTP/1.1
authorization: TOKEN
Droplit Console
droplit serviceclass read-curated SERVICE-CLASS-NAME
Droplit SDK
droplit.serviceClasses.readCurated("SERVICE-CLASS-NAME");