This documentation is for WSO2 API Manager 1.5.0 View documentation for the latest release.
API Resources - API Manager 1.5.0 - WSO2 Documentation
||
Skip to end of metadata
Go to start of metadata

When adding a new API using the API Publisher, you can define API resources. API Resources field appears at last in the Add New API page as follows:   

An API is made up of one or more resources. Each resource handles a particular type of request and is analogous to a method (function) in a larger API.   

API resources can accept following attributes:

URL Pattern 
HTTP VerbThe HTTP methods which specify the desired action to be performed on the resource. These methods can be GET, POST, PUT, DELETE or OPTIONS. Multiple methods can be selected.
Auth TypeFacilitates resource-level authentication where different levels of authentication can be specified to each HTTP method of the resource.
Throttling TierSee Resource-Level Throttling.
ActionAllows to move the resource up and down the list or delete it.

Once a request is accepted by a resource, it will be mediated through an in-sequence. Any response from the back-end is handled through the out-sequence. Fault sequences are used to mediate errors that might occur in either sequence. The default in-sequence, out-sequence and fault sequence are generated when the API is published.

Go back to API Resources field in Creating an API page.

  • No labels