# license

croit license information.
Set management node URL:

# GET /license

# Parameters

  • No parameters...

# Endpoint

curl -X GET http://mgmt-node:8080/api/license

# Response 200

  • licenseobjectoptional-
    • fsidstringoptional-
    • croitIdstringoptional-
    • licenseIdstringoptional-
    • validUntilintegeroptional-
    • nextRefreshintegeroptional-
    • maxOsdsintegeroptional-
    • maxCapacityintegeroptional-
    • registeredbooleanoptional-
  • osdsintegeroptional-
  • capacityintegeroptional-
  • messagestringoptional-
  • emailstringoptional-
  • activebooleanoptional-
  • registeredbooleanoptional-

# Example response

{
  "license": {
    "fsid": "string",
    "croitId": "string",
    "licenseId": "string",
    "validUntil": 0,
    "nextRefresh": 0,
    "maxOsds": 0,
    "maxCapacity": 0,
    "registered": true
  },
  "osds": 0,
  "capacity": 0,
  "message": "string",
  "email": "string",
  "active": true,
  "registered": true
}

# PATCH /license/license

# Parameters

  • bodyobjectoptional-
    • emailstringoptional-

# Endpoint

curl -X PATCH http://mgmt-node:8080/api/license/license

# Example body

{
  "email": "string"
}

# POST /license/refresh

# Parameters

  • No parameters...

# Endpoint

curl -X POST http://mgmt-node:8080/api/license/refresh

# Response 200

  • licenseobjectoptional-
    • fsidstringoptional-
    • croitIdstringoptional-
    • licenseIdstringoptional-
    • validUntilintegeroptional-
    • nextRefreshintegeroptional-
    • maxOsdsintegeroptional-
    • maxCapacityintegeroptional-
    • registeredbooleanoptional-
  • osdsintegeroptional-
  • capacityintegeroptional-
  • messagestringoptional-
  • emailstringoptional-
  • activebooleanoptional-
  • registeredbooleanoptional-

# Example response

{
  "license": {
    "fsid": "string",
    "croitId": "string",
    "licenseId": "string",
    "validUntil": 0,
    "nextRefresh": 0,
    "maxOsds": 0,
    "maxCapacity": 0,
    "registered": true
  },
  "osds": 0,
  "capacity": 0,
  "message": "string",
  "email": "string",
  "active": true,
  "registered": true
}