Download OpenAPI specification:Download
For users:
For the Token management APIs, if you have:
{- "name": "CLOUD API",
- "version": "1.0"
}
This operation is retrieving a list of contracts that your account credentials are authorized to access. This operation is primarily useful to IONOS' Resellers, as a non-reseller user account will only have access to a single contract.
[- {
- "id": "contractId0",
- "type": "contracts",
}, - {
- "id": "contractId1",
- "type": "contracts",
}, - {
- "id": "contractId2",
- "type": "contracts",
}
]
This operation returns the actual activity log data related to the specific contractId supplied in the request. The amount of data returned can be limited by providing one or both of the optional startDate and endDate parameters.
If valid values for both dateStart and dateEnd are supplied, then the activity log information for the date range specified will be returned. Omitting either dateStart or dateEnd will return all entries available after dateStart or before dateEnd.
For pagination use the page and size parameters.
contractNumber required | integer Contract number thats activity log entires should be downloaded. |
dateStart | string Start date for the Activity Log entries (inclusive) (e.g. '2021-09-23T11:43:51Z' or '2016-07-01') |
dateEnd | string End date for the Activity Log entries (exclusive) (e.g. '2021-09-27T10:31:15Z' or '2016-07-30') |
offset | integer Default: 0 Page index ( the number of hits to skip ) |
limit | integer Default: 20 Page size ( the maximum number of hits to return ) |
{- "hits": {
- "total": "2,",
- "hits": [
- {
- "_source": {
- "principal": {
- "sourceIp": "IP_ADDRESS",
- "identity": {
- "contractNumber": 31721060,
- "username": "username@domain.tld"
}, - "sourceService": "UserWebservice"
}
}, - "meta": {
- "auditVersion": 0.1,
- "time": "2016-09-23T12:02:52.394Z"
}, - "event": {
- "param": { },
- "resources": [
- {
- "action": [
- "sec.user.create"
], - "id": 1466,
- "type": "user"
}
], - "type": "RequestAccepted"
}
}
]
}
}