TypeHub

A next generation API and data design platform.

Sign up Login in Browse

Backend_Operation

This object represents an operation, an operation invokes an action in case a specific HTTP method and path was requested. It defines also schema information about the request and response payload

Document
Property Type Description
id Integer Unique identifier for the object
status Integer Status of the object either 1 = active or 0 = deleted
active Boolean Indicates whether the operation is active
public Boolean Indicates whether the operation is public, if false a user must provide an Authorization header with an Bearer access token
stability Integer Describes the stability of this operation 0 = deprecated, 1 = experimental, 2 = stable and 3 = legacy
description Text A short description of this operation, it should explain the operation in a simple and precise way
httpMethod Text The target HTTP method i.e. GET or POST
httpPath Text The target HTTP path i.e. /foo or /product/:product_id
httpCode Integer The success HTTP code i.e. 200 or 201
name Text Unique name of the object. It is recommended to group your operations into logical units by using a dot i.e. product.getAll and product.insert which has also an effect on the automatically generated SDK
parameters Backend_OperationParameters Describes available query parameters
incoming Text Describes the incoming request payload, this must contain a schema name
outgoing Text Describes the outgoing response payload, this must contain a schema name
throws Backend_OperationThrows Describes error responses for i.e. client or server errors
action Text The target action to invoke, this must contain an action name
costs Integer Costs to invoke this operation. A user can only invoke this operation in case he has enough points
scopes Text Scopes which are required to invoke this operation
metadata Common_Metadata Use this parameter to attach key-value data
part of the Apioo-Project