Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updating Schema Service

...

Old URL

New URL

Comment

POST /role/create

POST /roles/

Creates a new role. Returns URL to new role definition

GET /role/read/{roleId}

GET /roles/{roleId}

Returns a single role definition matching the provided roleID

GET /role/selfRead/{roleId}

GET /roles/{roleId}

Authorization mechanisms will be independent of URL

GET /role/list

GET /roles

Returns a list of all known roles

GET /role/parent/{roleId}

GET /roles/{roleId}/parent

Returns a single parent role definition (if available)

GET /role/children/{roleId}

GET /roles/{roleId}/children

Returns a list of children role definitions

POST /role/update

POST /roles/{roleId}

Updates role. (POST is used here instead of PUT, because RoleMod only
contains changes for a role and not a complete representation thereof.)

GET /role/delete/{roleId}

DELETE /roles/{roleId}

Deletes role.

Schema Service

Info: {kind} can be USER, ROLE or MEMBERSHIP.

Old URL

New URL

Comment

GET POST /schema/{kind}/list create

GET POST /schemas/{kind}/{type} NORMAL

Returns Creates a list of all new "normal" schema definitions of for matching kind.

GET /virtualSchemaschema/{kind}/list read/{name}

GET /schemas/{kind}/NORMAL/{typename}

Returns a list of all "virtual" schema definitions of matching kindmatching schema.

GET /derivedSchemaschema/{kind}/list

GET /schemas/{kind}/{type} NORMAL

Returns a list of all "derivednormal" schema definitions of matching kind.

POST /schema/{kind}/create update

POST PUT /schemas/{kind}/NORMAL/{typename}

Creates a new "normal" schema for matching kind Updates matching schema.

POST GET /virtualSchemaschema/{kind}/create delete/{name}

DELETE POST /schemas/{kind}/NORMAL/{typename} Creates a new "virtual" schema for matching kind.

Deletes matching schema.

Old URL

New URL

Comment

POST /derivedSchemavirtualSchema/{kind}/create

POST /schemas/{kind}/{type} VIRTUAL

Creates a new "derivedvirtual" schema for matching kind.

GET /schemavirtualSchema/{kind}/deleteread/{name}

DELETE GET /schemas/{kind}/VIRTUAL/{type}/{name}

Deletes Returns matching schema.

GET /virtualSchema/{kind}/delete/{name} DELETE list

GET /schemas/{kind}/{type}/{name}

Deletes matching schema.

VIRTUAL

Returns a list of all "virtual" schema definitions of matching kind.

POST /virtualSchema GET /derivedSchema/{kind}/update

PUT delete/{name} DELETE /schemas/{kind}/{type}VIRTUAL/{name}

Deletes Updates matching schema.

GET /schemavirtualSchema/{kind}/readdelete/{name}

GET DELETE /schemas/{kind}/{type}VIRTUAL/{name}

Returns Deletes matching schema.

Old URL

New URL

Comment

POST /derivedSchema GET /virtualSchema/{kind}/read/{name} GET create

POST /schemas/{kind}/{type}/{name} DERIVED

Creates a new "derived" schema for matching kind Returns matching schema.

GET /derivedSchema/{kind}/read/{name}

GET /schemas/{kind}/{type}DERIVED/{name}

Returns matching schema.

POST GET /schemaderivedSchema/{kind}/update list

PUT GET /schemas/{kind}/{type}/{name} DERIVED

Returns a list of all "derived" schema definitions of matching kind Updates matching schema.

POST /virtualSchemaderivedSchema/{kind}/update

PUT /schemas/{kind}/{type}DERIVED/{name}

Updates matching schema.

POST GET /derivedSchema/{kind}/update delete/{name}

DELETE PUT /schemas/{kind}/{type}DERIVED/{name}

Updates Deletes matching schema.

Task Service

...