Initiates a single poll

put

/apiplatform/gatewaynode/v1/config/poller/poll

Initiates a poll to the management tier to fetch updates for this node from its associated logical gateway.

Users requesting this resource must be assigned the Gateway Manager role for the logical gateway this node is registered to.

Request

There are no request parameters for this operation.

Back to Top

Response

Supported Media Types

200 Response

Single poll information.
Body ()
Entities processed in the poll.
Root Schema : SinglePollDetails
Entities processed in the poll.
Match All
Show Source
Nested Schema : PollDelta
Type: object
Show Source
Nested Schema : apis
Type: array
APIs processed in the poll.
Show Source
Nested Schema : applications
Type: array
Applications processed in the poll.
Show Source
Nested Schema : artifacts
Type: array
Artifacts processed in the poll.
Show Source
Nested Schema : configurations
Type: array
Configurations processed in the poll.
Show Source
Nested Schema : policies
Type: array
Policies processed in the poll.
Show Source
Nested Schema : serviceAccounts
Type: array
Service Accounts processed in the poll.
Show Source
Nested Schema : services
Type: array
Service Objects processed in the poll.
Show Source
Nested Schema : subscriptions
Type: array
Subscriptions processed in the poll.
Show Source
Nested Schema : Api
Type: object
Show Source
Nested Schema : Application
Type: object
Show Source
Nested Schema : Artifact
Type: object
Show Source
Nested Schema : Configuration
Type: object
Show Source
Nested Schema : Policy
Type: object
Show Source
Nested Schema : ServiceAccount
Type: object
Show Source
Nested Schema : ServiceObject
Type: object
Show Source
Nested Schema : Subscription
Type: object
Show Source

400 Response

Bad request, indicates a problem with the input parameters.
Body ()
Error Definition.
Root Schema : Error
Type: object
Error Definition.
Show Source
Nested Schema : errorDetails
Type: array
Additional errors.
Show Source

401 Response

Authentication required.
Body ()
Error Definition.
Root Schema : Error
Type: object
Error Definition.
Show Source
Nested Schema : errorDetails
Type: array
Additional errors.
Show Source

403 Response

Forbidden.
Body ()
Error Definition.
Root Schema : Error
Type: object
Error Definition.
Show Source
Nested Schema : errorDetails
Type: array
Additional errors.
Show Source

500 Response

Unexpected error.
Body ()
Error Definition.
Root Schema : Error
Type: object
Error Definition.
Show Source
Nested Schema : errorDetails
Type: array
Additional errors.
Show Source

503 Response

Temporarily unavailable error.
Body ()
Error Definition.
Root Schema : Error
Type: object
Error Definition.
Show Source
Nested Schema : errorDetails
Type: array
Additional errors.
Show Source
Back to Top

Examples

The following example shows how to initiate a poll by submitting a PUT request on the REST resource using cURL. For more information about cURL, see Use cURL

curl -i -X PUT 
-H "Authorization: Bearer access_token 
https://example.com/apiplatform/gatewaynode/v1/config/poller/poll

Example of Response Headers

The following shows an example of the response headers.

HTTP/1.1 200 OK
Date: Fri, 30 Dec 2016 18:31:59 GMT
Transfer-Encoding: chunked
Content-Type: application/json

Example of Response Body

The following example shows the contents of the response body in JSON format.

{
  "subscriptions": [],
  "apis": [],
  "configurations": [],
  "policies": [],
  "artifacts": [],
  "applications": []
}
Back to Top