Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page Properties
hiddentrue
idDONE

Product Version
Report Note
Assignee

Resources & Remarks

Modification History

NameDateProduct VersionAction
Antje01 MAR 20232023 Springcreated


...

As of Version2023 Spring

Request Method

GET

Response Format

JSON

Required Permission

available if listed in authorization.accesses in authentication-prod.yml and if the specified access condition is matched.

>> AUTHENTICATION Service

Description


Excerpt

Retrieve the specified metric for the currently active tenant.



>> Metrics

Following values are available for the metric path parameter:

  • storage - The endpoint retrieves the dynamically calculated binary storage used by the currently active tenant.

Request Example

  • objectCount (as of 2023 Summer) - The endpoint retrieves the number of DMS objects within the currently active tenant.

Request Examples

(A) /api/admin/metrics/storage

(B) /api/admin/metrics/objectCount

Result ExampleExamples

(A)

Code Block
{
  "objects": [
    {
      "properties": {
        "system:tenant": {
          "value": "testyuuvis"
        }
      },
      "options": {
        "storageUsed": {
          "humanReadable": "121 MB",
          "value": 127508469
        }
      }
    }
  ],
  "numItems": 1,
  "hasMoreItems": false,
  "totalNumItems": 1
}

(B)

Code Block
{
    "objects": [{
            "properties": {
                "system:tenant": {
                    "value": "testyuuvis"
                }
            },
            "options": {
                "objectCount": {
                    "totalFolderCount": 97,
                    "totalObjectCount": 1733
                }
            }
        }
    ],
    "numItems": 1,
    "hasMoreItems": false,
    "totalNumItems": 1
}