ResourceApi¶
All URIs are relative to http://localhost:8080/api/v3
Method | HTTP request | Description |
---|---|---|
getResourceById | GET /resource/{resourceId} | Find resource by ID |
getResources | GET /resource/ | Returns a list of resources |
getResourceById¶
Map getResourceById(resourceId)
Find resource by ID
Returns a single resource
Parameters¶
Name | Type | Description | Notes |
---|---|---|---|
resourceId | Long | ID of resource to return | [default to null] |
Return type¶
Authorization¶
HTTP request headers¶
- Content-Type: Not defined
- Accept: application/json
getResources¶
Map getResources(api_key)
Returns a list of resources
Returns a list of resources
Parameters¶
Name | Type | Description | Notes |
---|---|---|---|
api_key | String | [optional] [default to null] |
Return type¶
Authorization¶
HTTP request headers¶
- Content-Type: Not defined
- Accept: application/json