You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As sites have some limits that can be labeled (currently max number of documents, max storage size, max number of webhooks), it would be helpful to have an endpoint that provides the current stats and maximums (-1 if no maximums); this would also be good in general, as some users have requested.
NOTE: GET /sites/:siteId/configuration uses different properties, maxDocuments, maxContentLengthBytes, and maxWebhooks, so we could do numDocuments instead of documentCount, but ideally we would use objectStorage vs. contentLength here, if possible, to clarify that it is a storage figure, not a response size setting.
The text was updated successfully, but these errors were encountered:
As sites have some limits that can be labeled (currently max number of documents, max storage size, max number of webhooks), it would be helpful to have an endpoint that provides the current stats and maximums (-1 if no maximums); this would also be good in general, as some users have requested.
GET /usage?siteId={siteId}
Response:
NOTE: GET /sites/:siteId/configuration uses different properties,
maxDocuments
,maxContentLengthBytes
, andmaxWebhooks
, so we could donumDocuments
instead ofdocumentCount
, but ideally we would useobjectStorage
vs.contentLength
here, if possible, to clarify that it is a storage figure, not a response size setting.The text was updated successfully, but these errors were encountered: