Skip to main content

get_one

Function get_one 

Source
pub async fn get_one(
    state: &AppState,
    class_name: &str,
) -> Result<Value, ParseError>
Expand description

GET /schemas/:className. The schema object itself, not wrapped.

A class that does not exist is INVALID_CLASS_NAME (103) Class <X> does not exist., not a 404 (SchemasRouter.js:30-36).