TypeHub

A next generation API and data design platform.

Sign up Login in Browse

Operation

Document
Property Type Description
arguments Argument All arguments provided to this operation. Each argument is mapped to a location from the HTTP request i.e. query or body
authorization Boolean Indicates whether this operation needs authorization, if set to false the client will not send an authorization header, default it is true
description Text A short description of this operation. The generated code will include this description at the method so it is recommend to use simple alphanumeric characters and no new lines
method Text The HTTP method which is associated with this operation, must be a valid HTTP method i.e. GET, POST, PUT etc.
path Text The HTTP path which is associated with this operation. A path can also include variable path fragments i.e. /my/path/:year then you can map the variable year path fragment to a specific argument
return Response The return type of this operation. The return has also an assigned HTTP success status code which is by default 200
security Text An array of scopes which are required to access this operation
stability Integer Indicates the stability of this operation: 0 - Deprecated, 1 - Experimental, 2 - Stable, 3 - Legacy. If not explicit provided the operation is by default experimental
throws Response All exceptional states which can occur in case the operation fails. Each exception is assigned to an HTTP error status code
part of the Apioo-Project