Trace:
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
jvx:common:util:rest [2020/06/29 13:38] cduncan |
jvx:common:util:rest [2020/06/29 13:42] cduncan [Storage Access (CRUD, Metadata)] |
||
---|---|---|---|
Line 111: | Line 111: | ||
* [[#put-request_update|Update]] | * [[#put-request_update|Update]] | ||
* [[#delete-request_delete|Delete]] | * [[#delete-request_delete|Delete]] | ||
- | * [[#options-request_meta_data|Meta Data]] | + | * [[#options-request_meta_data|Metadata]] |
==GET-Request (Select)== | ==GET-Request (Select)== | ||
Line 190: | Line 190: | ||
== PUT-Request (Update) == | == PUT-Request (Update) == | ||
- | Update a requord with Primary Key: | + | Update a record with Primary Key: |
''<nowiki>http://server:port/webapp/services/rest/</nowiki>**<fc #BF0000>APPLICATION_NAME</fc>**/**<fc #BF0000>LIFECYCLE_CLASS</fc>**/data/**<fc #BF0000>STORAGE_NAME</fc>**/**<fc #BF0000>PRIMARY_KEY</fc>**'' | ''<nowiki>http://server:port/webapp/services/rest/</nowiki>**<fc #BF0000>APPLICATION_NAME</fc>**/**<fc #BF0000>LIFECYCLE_CLASS</fc>**/data/**<fc #BF0000>STORAGE_NAME</fc>**/**<fc #BF0000>PRIMARY_KEY</fc>**'' | ||
Line 242: | Line 242: | ||
</file> | </file> | ||
- | ==OPTIONS-Request (Meta Data)== | + | ==OPTIONS-Request (Metadata)== |
- | Request Meta Data: | + | Request Metadata: |
''<nowiki>http://server:port/webapp/services/rest/</nowiki>**<fc #BF0000>APPLICATION_NAME</fc>**/**<fc #BF0000>LIFECYCLE_CLASS</fc>**/data/**<fc #BF0000>STORAGE_NAME</fc>**'' | ''<nowiki>http://server:port/webapp/services/rest/</nowiki>**<fc #BF0000>APPLICATION_NAME</fc>**/**<fc #BF0000>LIFECYCLE_CLASS</fc>**/data/**<fc #BF0000>STORAGE_NAME</fc>**'' | ||
==OPTIONS-Response== | ==OPTIONS-Response== | ||
- | The response returns the meta data in JSON format: | + | The response returns the metadata in JSON format: |
<file json> | <file json> |