Difference between revisions of "GCat Service"
From Gcube Wiki
Luca.frosini (Talk | contribs) (→Group Collection) |
Luca.frosini (Talk | contribs) (→Item Collection) |
||
Line 36: | Line 36: | ||
=== Item Collection === | === Item Collection === | ||
− | + | {| class="wikitable" | |
+ | ! Operation || HTTP Method || URL | ||
+ | |- | ||
+ | | List || GET || /items | ||
+ | |- | ||
+ | | Create || POST || /items | ||
+ | |- | ||
+ | | Read || GET || /items/{NAME} | ||
+ | |- | ||
+ | | Update || PUT || /items/{NAME} | ||
+ | |- | ||
+ | | Patch || PATCH || /items/{NAME} | ||
+ | |- | ||
+ | | Delete || DELETE || /items/{NAME} | ||
+ | |- | ||
+ | | Purge || PURGE || /items/{NAME} | ||
+ | |- | ||
+ | | Purge || DELETE || /items/{NAME}?purge=true | ||
+ | |} | ||
=== Resource Collection === | === Resource Collection === |
Revision as of 16:42, 29 November 2018
The gCube Science Catalogue Service is a RESTful web service based on the principles defined in gCube Catalogue
Contents
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} |
Patch | PATCH | /items/{NAME} |
Delete | DELETE | /items/{NAME} |
Purge | PURGE | /items/{NAME} |
Purge | DELETE | /items/{NAME}?purge=true |