Get all element add requests

GET https://api.getpostman.com/network/private/network-entity/request/all

Gets a list requests to add elements to the [Private API Network]

Request Params

KeyDatatypeRequiredDescription
sincestringOptional. Return only elements updated at and after this time, in ISO 8601 UTC format.
untilstringOptional. Return only elements updated at and before this time, in ISO 8601 UTC format.
requestedBystringOptional. Return a user's element requests by their user ID.
typestringOptional. Filter by the element type. One of: workspace, collection, api.
statusstringOptional. Filter by the request status. One of: pending, denied.
namestringOptional. Return only elements whose name includes the given value. Matching is not case-sensitive.
sortstringOptional. Sort the results by the name or updatedAt properties. If you use this query parameter, you must also use the direction parameter.
directionstringOptional. Sort in ascending (asc) or descending (desc) order. Matching is not case-sensitive. If you use this query parameter, you must also use the sort parameter.
offsetstringOptional. The zero-based offset of the first item to return. This value defaults to 0.
limitstringOptional. The maximum number of elements to return. If the value exceeds the maximum value of 1000, then the system uses the 1000 value.

HEADERS

KeyDatatypeRequiredDescription
X-API-Keystring

RESPONSES

status: OK

{"requests":[{"id":1,"createdBy":87654321,"createdAt":"2020-06-01T08:32:31.000Z","status":"pending","element":{"type":"api","id":"360b75f-447e-467c-9299-12fd3c92450d","name":"Test api","summary":"Test api summary"}},{"id":2,"createdBy":12345678,"createdAt":"2022-06-09T14:48:45.000Z","message":"Please approve this collection","status":"denied","element":{"type":"collection","id":"5360b75f-447e-467c-9299-12fd3c92450d","name":"Test Collection","summary":"This is a test collection."},"response":{"createdAt":"2020-06-01T08:32:31.000Z","createdBy":2272,"message":"Too many errors, please fix and resubmit"}}],"meta":{"limit":10,"offset":5,"totalCount":100}}