API ReferenceMaterials
Get page by page number and size with optional sorting based on field to sortBy and direction
AuthorizationBearer <token>
In: header
Query Parameters
pageNumber?integer
Format
int32pageSize?integer
Format
int32sortBy?string
direction?string
Value in
"ASC" | "DESC"search?string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/materials/page"{
"content": [
{
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"density": 0.1,
"description": "string",
"id": "string",
"impact": {
"carbonEmission": 0.1,
"carbonStorage": 0.1,
"eol": {
"avi": 0.1,
"dump": 0.1,
"recycle": 0.1,
"refabricate": 0.1,
"reuse": 0.1,
"stay": 0.1
},
"mki": 0.1
},
"lifetime": 0,
"metaData": [
{
"key": "string",
"value": "string"
}
],
"name": "string",
"nlsfb": "string",
"origin": {
"primary": 0.1,
"renewable": 0.1,
"secondary": 0.1
},
"ownerId": "string",
"referenceId": "string",
"source": "string",
"unit": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"visibility": "PUBLIC"
}
],
"empty": true,
"first": true,
"last": true,
"number": 0,
"numberOfElements": 0,
"pageable": {
"offset": 0,
"pageNumber": 0,
"pageSize": 0,
"paged": true,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"unpaged": true
},
"size": 0,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"totalElements": 0,
"totalPages": 0
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}