# 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

  • licenseobject-
    • fsidstring-
    • croitIdstring-
    • licenseIdstring-
    • validUntilinteger-
    • nextRefreshinteger-
    • maxOsdsinteger-
    • maxCapacityinteger-
    • registeredboolean-
  • osdsinteger-
  • capacityinteger-
  • messagestring-
  • emailstring-
  • activeboolean-
  • registeredboolean-

# 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

  • bodyobject-
    • emailstring-

# 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

  • licenseobject-
    • fsidstring-
    • croitIdstring-
    • licenseIdstring-
    • validUntilinteger-
    • nextRefreshinteger-
    • maxOsdsinteger-
    • maxCapacityinteger-
    • registeredboolean-
  • osdsinteger-
  • capacityinteger-
  • messagestring-
  • emailstring-
  • activeboolean-
  • registeredboolean-

# 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
}