Retrieves a list of shield information barrier objects for the enterprise of JWT.
1000
1000
The maximum number of items to return per page.
JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii
Defines the position marker at which to begin returning results. This is used when paginating using marker-based pagination.
Returns a paginated list of shield information barrier objects, empty list if currently no barrier.
Returns a not_found
error if could not find an enterprise using JWT.
An unexpected client error.
await client.shieldInformationBarriers.getShieldInformationBarriers();
client.shield_information_barriers.get_shield_information_barriers()
await client.ShieldInformationBarriers.GetShieldInformationBarriersAsync();
const result = await client.shieldInformationBarriers.getAll();
console.log(`There are ${result.entries.length} shield information barriers`);
{
"entries": [
{
"created_at": "2020-06-26T18:44:45.869Z",
"created_by": {
"id": "11446498",
"type": "user"
},
"enabled_at": "2020-07-26T18:44:45.869Z",
"enabled_by": {
"id": "11446498",
"type": "user"
},
"enterprise": {
"id": "1910967",
"type": "enterprise"
},
"id": "11446498",
"status": "draft",
"type": "shield_information_barrier",
"updated_at": "2020-07-26T18:44:45.869Z",
"updated_by": {
"id": "11446498",
"type": "user"
}
}
],
"limit": 1000,
"next_marker": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii"
}