Difference between revisions of "GCat Service"
From Gcube Wiki
Luca.frosini (Talk | contribs) (→Namespace Collection) |
Luca.frosini (Talk | contribs) |
||
Line 1: | Line 1: | ||
The gCube Science Catalogue Service is a RESTful web service based on the principles defined in [[GCube_Resource_Catalogue | gCube Catalogue]] | The gCube Science Catalogue Service is a RESTful web service based on the principles defined in [[GCube_Resource_Catalogue | gCube Catalogue]] | ||
+ | |||
+ | == Request == | ||
+ | |||
+ | |||
+ | === URL === | ||
+ | |||
+ | |||
+ | === HTTP Methods === | ||
+ | |||
+ | |||
+ | === HTTP Headers === | ||
+ | |||
+ | |||
+ | === HTTP Statuses === | ||
+ | |||
== Collections == | == Collections == |
Revision as of 16:51, 29 November 2018
The gCube Science Catalogue Service is a RESTful web service based on the principles defined in gCube Catalogue
Contents
Request
URL
HTTP Methods
HTTP Headers
HTTP Statuses
Collections
Group Collection
Operation | HTTP Method | URL |
---|---|---|
List | GET | /groups |
Create | POST | /groups |
Read | GET | /groups/{NAME} |
Update | PUT | /groups/{NAME} |
Patch | PATCH | /groups/{NAME} |
Delete | DELETE | /groups/{NAME} |
Purge | PURGE | /groups/{NAME} |
Purge | DELETE | /groups/{NAME}?purge=true |
Item Collection
Operation | HTTP Method | URL |
---|---|---|
List | GET | /items |
Create | POST | /items |
Read | GET | /items/{NAME} |
Update | PUT | /items/{NAME} |
Delete | DELETE | /items/{NAME} |
Purge | PURGE | /items/{NAME} |
Purge | DELETE | /items/{NAME}?purge=true |
Resource Collection
Operation | HTTP Method | URL |
---|---|---|
List | GET | /items/{NAME}/resources |
Create | POST | /items/{NAME}/resources |
Read | GET | /items/{NAME}/resources/{ID} |
Update | PUT | /items/{NAME}/resources/{ID} |
Delete | DELETE | /items/{NAME}/resources/{ID} |
License Collection
Operation | HTTP Method | URL |
---|---|---|
List | GET | /licenses |
Organization Collection
Operation | HTTP Method | URL |
---|---|---|
List | GET | /organizations |
Create | POST | /organizations |
Read | GET | /organizations/{NAME} |
Update | PUT | /organizations/{NAME} |
Patch | PATCH | /organizations/{NAME} |
Delete | DELETE | /organizations/{NAME} |
Purge | PURGE | /organizations/{NAME} |
Purge | DELETE | /organizations/{NAME}?purge=true |
User Collection
Operation | HTTP Method | URL |
---|---|---|
List | GET | /users |
Create | POST | /users |
Read | GET | /users/{NAME} |
Update | PUT | /users/{NAME} |
Delete | DELETE | /users/{NAME} |
Profile Collection
Operation | HTTP Method | URL |
---|---|---|
List | GET | /profiles |
Read | GET | /profiles/{NAME} |
Namespace Collection
Operation | HTTP Method | URL |
---|---|---|
List | GET | /namespaces |