Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Action

Request

Example

Description

 

GET {wookie}/warp {param: widgetId}

 

Returns all access policies, or only the access policies that apply to the widget identified by the widgetId parameter. This method requires authentication using a widgetadmin role, e.g. using HTTP Basic authentication

 

GET {wookie}/warp/{id}

 

Returns the access policy specified by id. This method requires authentication using a widgetadmin role, e.g. using HTTP Basic authentication

 

POST {wookie}/warp/ {param:widgetId, origin, subdomains}

 

Creates a new policy with the details provided. This method requires authentication using a widgetadmin role, e.g. using HTTP Basic authentication.

 

PUT {wookie}/warp/{id} {param: granted}

 

Updates the policy specified by id with the status of granted if the granted parameter is set to "true", otherwise sets the status of the policy to not granted. This method requires authentication using a widgetadmin role, e.g. using HTTP Basic authentication.

 

DELETE {wookie}/warp/{id}

 

Deletes the policy specified by id. This method requires authentication using a widgetadmin role, e.g. using HTTP Basic authentication.

Widgets

Action

Request

Example

Description

 

POST {wookie}/widgets {file}

 

Posts a widget file to the server; this is identical in behaviour to dropping a ".wgt" file into the Wookie deploy folder. This method requires authentication using a widgetadmin role, e.g. using HTTP Basic authentication