Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Old URL

New URL

Comment

POST /resource/create

POST /resources

Creates a new resource.

POST /resource/update

PUT /resources/{resourceName}

Updates resource with matching resourceName. HTTP operation is changed to PUT, because method is idempotent.

GET /resource/delete/{resourceName}

DELETE /resources/{resourceName}

Deletes resource with specified resourceName. HTTP operation is changed to DELETE, because GET operation must be safe.

GET /resource/read/{resourceName}

GET /resources/{resourceName}

Returns a resource with specified name.

GET /resource/propagationActionsClasses

GET /resources/propagationActionsClasses

Returns a list of classes with name PROPAGATION_ACTIONS. Actually method is used only in context of resources, therefore it is grouped to resources.

GET /resource/list

GET /resources

Returns a list of all resources. There is optional matrix parameter: connInstanceId.

GET /resource/{resourceName}/read/{type}/{objectId}

GET /resources/{resourceName}/{type}/{objectId}

Returns specified connector object for resource.

POST /resource/check

POST /resources/validate

Verifies connection using resource connector parameters. HTTP operation can be changed to GET if resource is always created previously.