1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

add isInPurgatory

This commit is contained in:
alexcos20 2021-11-12 07:11:11 -08:00
parent dfd67b2d25
commit 772bae1b35

View File

@ -478,13 +478,15 @@ The `stats` section contains different statistics fields.
| Attribute | Type | Description |
| -------------- | -------- | ------------------------------------------------------------------------------------------------------------- |
| **`consumes`** | `number` | How often an asset was consumed, meaning how often it was either downloaded or used as part of a compute job. |
| **`isInPurgatory`** | `string` | If asset is listed in purgatory and reason |
Example:
```json
{
"stats": {
"consumes": 4
"consumes": 4,
"isInPurgatory": "false"
}
}
```
@ -598,7 +600,8 @@ Example:
},
"stats": {
"consumes": 4
"consumes": 4,
"isInPurgatory": "false"
}
}
```