SOA Governance and API Management : Working with REST-based APIs : About CentraSite RESTful API Model : REST Parameters : Parameter Levels : API-Level Parameters
API-Level Parameters
Setting parameters at the API level enables the automatic assignment of the parameters to all resources and methods included in the API. Any parameter value you specify at the higher API level overrides the parameter value you set at the lower Resource level or the lower Method level if the parameter names are the same.
For example, say you have a header parameter called API Key that is used for consuming an API.
x-CentraSite-APIKey:a4b5d569-2450-11e3-b3fc-b5a70ab4288a
This parameter is specific to the entire API and to the individual components - resources and methods directly below the API. Such a parameter can be defined as a parameter at the API level.
At an API level, CentraSite allows you to define the following types of parameters:
*Query-String parameter
*Header parameter
*Form parameter
Copyright © 2015- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback