The InterCloud API is organized around REST. Our API has predictable, resource-oriented URLs, and uses HTTP response codes to indicate API errors. We use built-in HTTP features, like HTTP authentication and HTTP verbs, which are understood by off-the-shelf HTTP clients. JSON is returned by all API responses, including errors.
The InterCloud API uses OpenID Connect protocol for authentication.
API Access tokens can be obtained by two different ways :
API access tokens are generated programatically via the (/auth/token) route. More information can be found in the OIDC section of the documentation.
Personal Access Tokens are managed in the Account Section of the InterCloud portal or via the (/auth/token) route. They best suited for scripts and single-use applications. Your PATs carry many privileges, so be sure to keep them secret. Do not share your tokens in publicly accessible areas such as GitHub, client-side code, and so forth.
Authentication to the API is performed via Bearer Authentication. Regardless of the way they've been generated with, access token are used the same way : They should be provided as a Bearer
value through an "Authorization"
header: -H "Authorization: Bearer UabvhLHcRr2dF9zhun4JBQ"
All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail, except the token creation requests.
The InterCloud API features Cross-Origin Resource Sharing (CORS) implemented in compliance with W3C spec. And that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site.
The InterCloud API follows the REST (REpresentational State Transfer) design pattern. This means that the CRUD (Create, Read, Update, and Delete) operations are specified by using HTTP methods. These are referred to as RESTful verbs.
Verbs | Description |
---|---|
GET |
Use the HTTP GET method to obtain data. |
POST |
Use the HTTP POST method to add new resources in a collection. |
PUT |
Use the HTTP PUT method to modify data. |
DELETE |
Use the HTTP DELETE method to remove data. |
In addition to the fields provided by the dataset owner, InterCloud also provides a number of useful system fields you can make use of. They’re very useful for detecting when datasets have changed.
Field | Description |
---|---|
:id |
The internal InterCloud identifier for this record. |
:created_at |
A Fixed Timestamp representing when this record was created. |
:updated_at |
A Fixed Timestamp representing when this record was last updated. |
System fields are always included by default.
The :id
field is an Version 4 UUID. A Version 4 UUID is a universally unique identifier that is generated using random numbers. The Version 4 UUIDs produced by this site were generated using a secure random number generator.
*Header * | Description |
---|---|
InterCloud-Scope |
The InterCloud scope is a notion useful only if you are an InterCloud services reseller. It is a header you can include |
in your requests to emulate one of your child organizations, while being logged in as the reseller. | |
If this header is omitted, the default value is your own organization ID. |
InterCloud API version is defined by the api-version header returned by any the api call.
HTTP/2.0 200 OK
date: Wed, 10 Jul 2019 09:27:04 GMT
content-type: application/json; charset=utf-8
content-length: 138
api-version: 1.0
Requests that return collection of resources will be paginated to 50 items by default.
You can specify further pages with the ?page
parameter.
You can also set a custom page size up to 100 with the ?limit
parameter (100 is the maximum item per page you can fetch).
curl 'https://console.intercloud.io/users?page=2&limit=100'
Note that page numbering is 1-based and that omitting the ?page
parameter (or setting it to 0) will return the first page.
The content-range header includes pagination information:
Content-Range: [Index of the first element of the page - index of the last element of the page / Total number of elements in the request]
For example:
Content-Range: 0-4/10
The Link header includes pagination information:
Link: <%2Fusers?page=1&limit=2>; rel="first",
<%2Fusers?page=1&limit=2>; rel="previous",
<%2Fusers?page=3&limit=2>; rel="next",
<%2Fusers?page=5&limit=2>; rel="last"
The example includes a line break for readability.
This Link
response header contains one or more Hypermedia link relations, some of which may require expansion as URI templates.
The possible rel
values are:
Name | Description |
---|---|
next |
The link relation for the immediate next page of results. |
last |
The link relation for the last page of results. |
first |
The link relation for the first page of results. |
previous |
The link relation for the immediate previous page of results. |
InterCloud REST API uses conventional HTTP response codes to indicate the success or failure of an API request.
In general:
2xx
(Successful): The request was successfully received, understood, and accepted3xx
(Redirection): Further action needs to be taken in order to complete the request4xx
(Client Error): The request contains bad syntax or cannot be fulfilled5xx
(Server Error): The server failed to fulfill an apparently valid requestSome 4xx
errors that could be handled programmatically include an error message and an error code that briefly explains the reported error.
Here is some specific codes explained:
Status Code | Description |
---|---|
200 - OK | Standard response for successful HTTP requests. |
201 - Created | Resource created. |
204 - No Content | Typically sent after a resource deletion. |
400 - Bad Request | The request was not processed, probably due to bad format or a missing parameter. |
401 - Unauthorized | No valid API token provided. |
402 - Payment Required | No more available resources in product pool. |
403 - Forbidden | The request was valid, but the user might not have the needed permissions. |
404 - Not Found | The requested resource doesn't exist. |
405 - Method Not Allowed | The request method is known, but is not supported by the target resource at current state. |
409 - Conflict | The request conflicts with another request. |
429 - Too Many Requests | Too many requests hit the API too quickly. |
500, 502, 503, 504 - Server Errors | Something went wrong on InterCloud's end. |
IRN stands for InterCloud Resource Name. An IRN is an unique identifier (string format) that helps in a specific resource identification. It gathers the resource family information, the resource owner and a unique identifier. Please find below an example of IRN:
irn:geoentrypoint:1hv0g4w1k2rkg::t2cxj9
Production platform
Technical Preview platform
Retrieves all organisations whose parent is the current user's organisation
offset | integer <int32> offset of the page (multiple of limit) to start at (default is 0) |
limit | integer <int32> maximum number of results to return (default is 10) |
sort | Array of strings sort order, format column[,ASC|DESC] default ASC (sort=name,desc&sort=other) |
OK
[- {
- "address": {
- "city": "Paris",
- "country": "France",
- "street": "88-90 boulevard Sebastopol",
- "zipcode": "75003"
}, - "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "id": "DC6CFA95-04B9-4CA9-A692-58DEC0E8BA70",
- "invoice": {
- "tvaintra": "0123456789FR",
- "tvanumber": "FR 99999999999",
- "tvasubjection": true
}, - "name": "Intercloud",
- "parent_id": null,
- "phone": "+33 1 22 97 18 77",
- "reseller": true,
- "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
]
Production platform
Technical Preview platform
offset | integer <int32> offset of the page (multiple of limit) to start at (default is 0) |
limit | integer <int32> maximum number of results to return (default is 10) |
OK
{- "address": {
- "city": "Paris",
- "country": "France",
- "street": "88-90 boulevard Sebastopol",
- "zipcode": "75003"
}, - "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "id": "DC6CFA95-04B9-4CA9-A692-58DEC0E8BA70",
- "invoice": {
- "tvaintra": "0123456789FR",
- "tvanumber": "FR 99999999999",
- "tvasubjection": true
}, - "name": "Intercloud",
- "parent_id": null,
- "phone": "+33 1 22 97 18 77",
- "reseller": true,
- "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
Production platform
Technical Preview platform
The organisation unique identifier can be retrieved with the route GET /me/info
(field organisationId
)
organisationId required | string <uuid> Unique ID of the organisation to be fetched. |
OK
{- "address": {
- "city": "Paris",
- "country": "France",
- "street": "88-90 boulevard Sebastopol",
- "zipcode": "75003"
}, - "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "id": "DC6CFA95-04B9-4CA9-A692-58DEC0E8BA70",
- "invoice": {
- "tvaintra": "0123456789FR",
- "tvanumber": "FR 99999999999",
- "tvasubjection": true
}, - "name": "Intercloud",
- "parent_id": null,
- "phone": "+33 1 22 97 18 77",
- "reseller": true,
- "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
Production platform
Technical Preview platform
organisationId required | string <uuid> ID of the organisation to return |
Organisation's information object that needs to be updated in the datastore
address | object |
invoice | object |
name | string |
phone | string |
OK
{- "address": {
- "city": "Paris",
- "country": "France",
- "street": "88-90 boulevard Sebastopol",
- "zipcode": "75003"
}, - "invoice": {
- "tvaintra": "0123456789FR",
- "tvanumber": "FR 99999999999",
- "tvasubjection": true
}, - "name": "Intercloud",
- "phone": "+33 1 22 97 18 77"
}
{- "address": {
- "city": "Paris",
- "country": "France",
- "street": "88-90 boulevard Sebastopol",
- "zipcode": "75003"
}, - "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "id": "DC6CFA95-04B9-4CA9-A692-58DEC0E8BA70",
- "invoice": {
- "tvaintra": "0123456789FR",
- "tvanumber": "FR 99999999999",
- "tvasubjection": true
}, - "name": "Intercloud",
- "parent_id": null,
- "phone": "+33 1 22 97 18 77",
- "reseller": true,
- "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
Production platform
Technical Preview platform
Retrieves all products available for the organisation specified in path
organisationId required | string <uuid> Unique ID of the organisation to be fetched. |
OK
{- "family": "string",
- "intercloudRegion": "string",
- "service": "string",
- "total": 0,
- "type": "string",
- "used": 0
}
Production platform
Technical Preview platform
Retrieves all products available for the organisation specified in path
organisationId required | string <uuid> Unique ID of the organisation to be fetched. |
shortname required | string Family shortname that the connector products belongs to |
intercloudRegion required | string Slug of the intercloudRegion needed to fetch |
OK
Product not found for organisationId and intercloudRegion
{- "family": "string",
- "intercloudRegion": "string",
- "service": "string",
- "total": 0,
- "type": "string",
- "used": 0
}
Production platform
Technical Preview platform
The organisation unique identifier can be retrieved with the route GET /me/info
(field organisationId
)
The subscribed capacity is the total capacity from all its groups an organisation can consume within a single InterCloud region.
capacity
is given in bpsduration
is given is monthesisRegional
is set to true if the capacity is bounded to a single intercloudRegion (regional capacity)organisationId required | string <uuid> ID of the organisation to return |
OK
[- {
- "capacity": 10,
- "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "duration": 12,
- "id": "aeaf42dd-a907-41a7-89cb-a22bdaf1662d",
- "isRegional": false,
- "region1Id": "41ef7524-1381-4d54-93ec-a33328f2e576",
- "region2Id": "65764943-a1e9-4909-b7fa-4d6b6c3df78a",
- "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
]
Production platform
Technical Preview platform
The organisation unique identifier can be retrieved with the route GET /me/info
(field organisationId
)
The subscribed capacity is the total capacity from all its groups an organisation can consume within a single InterCloud region.
capacity
is given in Gbpsduration
is given is monthesisRegional
is set to true if the capacity is bounded to a single intercloudRegion (regional capacity)organisationId required | string <uuid> ID of the organisation to fetch |
capacityId required | string <uuid> ID of the capacity to fetch |
OK
{- "capacity": 10,
- "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "duration": 12,
- "id": "aeaf42dd-a907-41a7-89cb-a22bdaf1662d",
- "isRegional": false,
- "region1Id": "41ef7524-1381-4d54-93ec-a33328f2e576",
- "region2Id": "65764943-a1e9-4909-b7fa-4d6b6c3df78a",
- "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
Production platform
Technical Preview platform
OK
(empty)
[- {
- "action": "create",
- "clientIP": "172.12.0.1",
- "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "id": "c771c189-ffae-4d55-b86c-d0e3d4f9f48a",
- "organisationID": "48ebb5c7-b8df-4e39-87d7-accb5d54f8c8",
- "serviceIRN": "irn:group:7b2e43bc4892::oyel09",
- "serviceName": "avengers",
- "serviceType": "group",
- "updatedAt": "2018-05-16 08:40:51.161299+02:00",
- "userID": "00dba05c-b3b3-4d02-9481-6ffc6463356e",
- "userName": "Tony Stark"
}
]
Production platform
Technical Preview platform
The user is identified from the authentication token passed in authentication header.
OK
curl https://console.intercloud.io/me/info -H 'Authorization: Bearer <YOUR_ACCESS_TOKEN>'
{- "contact": {
- "phone": "+33 1 45 26 87 34",
- "site": "Bat. A"
}, - "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "email": "admin@intercloud.com",
- "firstName": "John",
- "id": "DC6CFA95-04B9-4CA9-A692-58DEC0E8BA70",
- "lastName": "Mayal",
- "organisationId": "DC6CFA95-04B9-4CA9-A692-58DEC0E8BA70",
- "preference": {
- "language": "fre"
}, - "role": "admin",
- "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
Production platform
Technical Preview platform
The role
and organisationId
fields can not be updated.
User's information object that needs to be updated in the datastore
contact | object |
string | |
firstName | string |
lastName | string |
login | object |
password | string |
preference | object |
OK
Trying to update a user with an email already existing, or password provided is too weak
{- "contact": {
- "phone": "+33 1 45 26 87 34",
- "site": "Bat. A"
}, - "email": "admin@intercloud.com",
- "firstName": "John",
- "lastName": "Mayal",
- "password": "test",
- "preference": {
- "language": "fre"
}
}
{- "contact": {
- "phone": "+33 1 45 26 87 34",
- "site": "Bat. A"
}, - "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "email": "admin@intercloud.com",
- "firstName": "John",
- "id": "DC6CFA95-04B9-4CA9-A692-58DEC0E8BA70",
- "lastName": "Mayal",
- "organisationId": "DC6CFA95-04B9-4CA9-A692-58DEC0E8BA70",
- "preference": {
- "language": "fre"
}, - "role": "admin",
- "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
Production platform
Technical Preview platform
OK
[- {
- "contact": {
- "phone": "+33 1 45 26 87 34",
- "site": "Bat. A"
}, - "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "email": "admin@intercloud.com",
- "firstName": "John",
- "id": "DC6CFA95-04B9-4CA9-A692-58DEC0E8BA70",
- "lastName": "Mayal",
- "organisationId": "DC6CFA95-04B9-4CA9-A692-58DEC0E8BA70",
- "preference": {
- "language": "fre"
}, - "role": "admin",
- "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
]
Production platform
Technical Preview platform
The field role
shall be one of the existing roles provided by a request to the route /acl/roles
User's information object that needs to be added to the datastore
email required | string |
lastName required | string |
password required | string |
contact | object |
firstName | string |
preference | object |
role | string |
User created
Email or Password needed, or trying to create a user with an email already existing, or password too weak, or invalid role
{- "contact": {
- "phone": "+33 1 45 26 87 34",
- "site": "Bat. A"
}, - "email": "admin@intercloud.com",
- "firstName": "John",
- "lastName": "Mayal",
- "password": "test",
- "preference": {
- "language": "fre"
}, - "role": "admin"
}
{- "contact": {
- "phone": "+33 1 45 26 87 34",
- "site": "Bat. A"
}, - "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "email": "admin@intercloud.com",
- "firstName": "John",
- "id": "DC6CFA95-04B9-4CA9-A692-58DEC0E8BA70",
- "lastName": "Mayal",
- "organisationId": "DC6CFA95-04B9-4CA9-A692-58DEC0E8BA70",
- "preference": {
- "language": "fre"
}, - "role": "admin",
- "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
Production platform
Technical Preview platform
The user unique identifier can be retrieved with the route GET /me/info
(field id
)
userId required | integer <int64> ID of user to return |
OK
{- "contact": {
- "phone": "+33 1 45 26 87 34",
- "site": "Bat. A"
}, - "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "email": "admin@intercloud.com",
- "firstName": "John",
- "id": "DC6CFA95-04B9-4CA9-A692-58DEC0E8BA70",
- "lastName": "Mayal",
- "organisationId": "DC6CFA95-04B9-4CA9-A692-58DEC0E8BA70",
- "preference": {
- "language": "fre"
}, - "role": "admin",
- "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
Production platform
Technical Preview platform
The organisationId
field can not be updated.
The field role
shall be one of the existing roles provided by a request to the route /acl/roles
userId required | integer <int64> ID of user to update |
User's information object that needs to be updated in the datastore
contact | object |
string | |
firstName | string |
lastName | string |
login | object |
password | string |
preference | object |
role | string |
OK
Trying to update a user with an email already existing, or password provided is too weak
{- "contact": {
- "phone": "+33 1 45 26 87 34",
- "site": "Bat. A"
}, - "email": "admin@intercloud.com",
- "firstName": "John",
- "lastName": "Mayal",
- "password": "test",
- "preference": {
- "language": "fre"
}, - "role": "admin"
}
{- "contact": {
- "phone": "+33 1 45 26 87 34",
- "site": "Bat. A"
}, - "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "email": "admin@intercloud.com",
- "firstName": "John",
- "id": "DC6CFA95-04B9-4CA9-A692-58DEC0E8BA70",
- "lastName": "Mayal",
- "organisationId": "DC6CFA95-04B9-4CA9-A692-58DEC0E8BA70",
- "preference": {
- "language": "fre"
}, - "role": "admin",
- "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
Production platform
Technical Preview platform
This endpoint generates an OpenID Connect token based on password grant flow. This token should be used as a Bearer value in all your other API calls. The access or refresh token expires after 1 hour. Basic authentication credentials are provided by InterCloud to users who need them to develop their own API clients.
User credentials for token creation or refresh
grant_type required | string grant_type shall be |
scope required | string scope must be |
username required | string email address of the user requesting a new token or a refresh token |
password required | string password of the user requesting a new token or a refresh token |
access granted
{- "grant_type": "password",
- "password": "horse bottle sidecar computer",
- "scope": "everything",
- "username": "john.lennon@apple.uk.co"
}
{- "access_token": "XS12zK1pTMS8VegiHkcvtA",
- "expires_in": 3600,
- "refresh_token": "8oBxvcomQVK3yEywJI8akQ",
- "scope": "everything",
- "token_type": "Bearer"
}
Production platform
Technical Preview platform
This endpoint generates an OpenID Connect reset token. The token is sent to the user by email. The reset token expires after 15 mn.
User's credential for token reset
grant_type required | string grant_type must be |
scope required | string scope must be |
username required | string email address of the user requesting a reset token |
email sent
{- "grant_type": "client_credentials",
- "password": "horse bottle sidecar computer",
- "scope": "reset",
- "username": "john.lennon@apple.uk.co"
}
{- "status": "ok"
}
Production platform
Technical Preview platform
This endpoint lists all existing Personal Access Tokens. Warning - the token values are never fetched.
OK
curl -ivv https://api-console.intercloud.io/personal/tokens -H 'Authorization: Bearer <TOKEN>'
[- {
- "comment": "This token is used by the CICD system",
- "createdAt": "string",
- "expiresIn": 3600,
- "name": "ContinuousIntegration",
- "userId": "b5b94431-0bde-4e47-bb3d-9d713280f8e8"
}
]
Production platform
Technical Preview platform
This endpoint generates an OpenID Connect Personal Access Token based on the OAuth 2.0 password grant flow. You can use the generated token as a Bearer value in all your other API calls. Warning - the token value generated can never be retrieved. End user shall make sure the token is stored securely.
User's information of token usage
expiresIn required | integer |
name required | string name given to the personal access token |
comment | string user comment to provide useful information on the personal access token |
token generated
{- "comment": "This token is used by the CICD system",
- "expiresIn": 3600,
- "name": "ContinuousIntegration"
}
{- "accessToken": "XS12zK1pTMS8VegiHkcvtA",
- "expiresIn": 3600,
- "scope": "everything",
- "tokenType": "Bearer"
}
Production platform
Technical Preview platform
This endpoint deletes all Personal Access Tokens of the current user.
OK
curl -ivv -X DELETE https://api-console.intercloud.io/personal/tokens -H 'Authorization: Bearer <TOKEN>'
Production platform
Technical Preview platform
This endpoint deletes a Personal Access Token by its ID.
tokenId required | string ID of token to delete |
OK
curl -ivv -X DELETE https://api-console.intercloud.io/personal/tokens/62e51d04-116f-4422-b491-4a47883d5b2d -H 'Authorization: Bearer <TOKEN>'
Production platform
Technical Preview platform
Get available roles and associated policies for a given organization
ok
[- {
- "policies": [
- {
- "act": "DELETE",
- "eft": "deny",
- "obj": "/organisations",
- "res": "organisations:delete:*"
}
], - "role": "string"
}
]
Production platform
Technical Preview platform
Return role policies for a given role name
roleName required | string name of the role |
InterCloud-Scope required | string <uuid> Oraganization's ID |
Kong-Request-ID | string request's ID |
OK
{- "policies": [
- {
- "act": "DELETE",
- "eft": "deny",
- "obj": "/organisations",
- "res": "organisations:delete:*"
}
], - "role": "string"
}
Production platform
Technical Preview platform
id required | string <uuid> id of the user |
InterCloud-Scope required | string <uuid> Oraganization's ID |
Kong-Request-ID | string request's ID |
OK
[- {
- "act": "DELETE",
- "eft": "deny",
- "obj": "/organisations",
- "res": "organisations:delete:*"
}
]
Production platform
Technical Preview platform
OK
[- {
- "country": "France",
- "locode": "FR-CCH",
- "name": "Clichy",
- "slacity": "Paris",
- "state": null,
- "zipcode": 92110
}
]
Production platform
Technical Preview platform
OK
[- {
- "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "id": "aeaf42dd-a907-41a7-89cb-a22bdaf1662d",
- "name": "Europe",
- "slug": "europe",
- "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
]
Production platform
Technical Preview platform
region required | string slug of the region from |
start-d | string start date time of the range |
end-d | string end date time of the range |
OK
{- "childrenOrganizations": [
- {
- "groups": [
- {
- "groupID": "c61cea44-8e96-430a-bbce-bfa1296453cb",
- "name": "myFirstChildrenOrganizationGroup",
- "regionalMetrics": [
- {
- "allocated": 2000000,
- "intercloudRegion": "europe",
- "used": 103.63
}
]
}
], - "name": "MyFirstChildrenOrganization",
- "organizationID": "aba6a35f-3415-46ca-bc78-957ff4618a1c",
- "regionalMetrics": [
- {
- "allocated": 2000000,
- "intercloudRegion": "europe",
- "subscribed": 2000000,
- "used": 103.63
}
]
}, - {
- "groups": [
- {
- "groupID": "3e1097d1-aa85-4f97-86b5-d9eb82aadbb5",
- "name": "firstMySecondChildrenOrganizationGroup",
- "regionalMetrics": [
- {
- "allocated": 500000,
- "intercloudRegion": "europe",
- "used": 23.1
}
]
}, - {
- "groupID": "3e1097d1-aa85-4f97-86b5-d9eb82aadbb5",
- "name": "secondMySecondChildrenOrganizationGroup",
- "regionalMetrics": [
- {
- "allocated": 1000000,
- "intercloudRegion": "southeast-asia",
- "used": 450.3
}
]
}
], - "name": "MySecondChildrenOrganization",
- "organizationID": "e5c3376d-fef4-45cc-8e31-d69259869790",
- "regionalMetrics": [
- {
- "allocated": 500000,
- "intercloudRegion": "europe",
- "subscribed": 500000,
- "used": 23.1
}, - {
- "allocated": 1000000,
- "intercloudRegion": "southeast-asia",
- "subscribed": 1000000,
- "used": 450.3
}
]
}
], - "groups": [
- {
- "groupID": "b6b1819e-e25f-43bd-a98a-3cdd39bff495",
- "name": "firstMyOrganizationGroup",
- "regionalMetrics": [
- {
- "allocated": 3000000,
- "intercloudRegion": "pacific",
- "used": 200.2
}
]
}
], - "name": "MyOrganization",
- "organizationID": "8a0973ce-5694-436f-8bb3-34b6a0e5ee22",
- "regionalMetrics": [
- {
- "allocated": 3000000,
- "intercloudRegion": "pacific",
- "subscribed": 3000000,
- "used": 200.2
}
]
}
Production platform
Technical Preview platform
OK
[- {
- "availableCapacity": 2000000,
- "subscribedCapacityId": "b3f366c2-e57d-44f9-aaa9-1344e3b21d04"
}
]
Production platform
Technical Preview platform
subscribedCapacityId required | string <uuid> ID of the subscribed capacity |
OK
{- "availableCapacity": 2000000,
- "subscribedCapacityId": "b3f366c2-e57d-44f9-aaa9-1344e3b21d04"
}
Production platform
Technical Preview platform
OK
[- {
- "allocatedCapacity": 32,
- "countConnectors": 3,
- "countFlowConnectors": 0,
- "countFlowLinks": 0,
- "countLinks": 2,
- "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "description": "Connector specifi to group 1",
- "id": "DC6CFA95-04B9-4CA9-A692-58DEC0E8BA70",
- "irn": "irn:group:7b3d43dc4892::ayel09",
- "name": "Connector Group 1",
- "organisationid": "1bde7885-7eb2-40fa-81b9-80b43028968d",
- "tagIds": [
- "7b0c63fe-98f0-453e-9d34-779c824126ca",
- "6acba8a3-20cc-45b0-861c-56394aa88f38",
- "…"
], - "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
]
Production platform
Technical Preview platform
groupId required | string <uuid> ID of group to return |
OK
{- "allocatedCapacity": 32,
- "countConnectors": 3,
- "countFlowConnectors": 0,
- "countFlowLinks": 0,
- "countLinks": 2,
- "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "description": "Connector specifi to group 1",
- "id": "DC6CFA95-04B9-4CA9-A692-58DEC0E8BA70",
- "irn": "irn:group:7b3d43dc4892::ayel09",
- "name": "Connector Group 1",
- "organisationid": "1bde7885-7eb2-40fa-81b9-80b43028968d",
- "tagIds": [
- "7b0c63fe-98f0-453e-9d34-779c824126ca",
- "6acba8a3-20cc-45b0-861c-56394aa88f38",
- "…"
], - "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
Production platform
Technical Preview platform
groupId required | string <uuid> ID of group to get capacities |
OK
[- {
- "allocation": 15,
- "capacityId": "679a0c5f-657d-42d8-b2ba-2746e35f8a47",
- "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "groupId": "3247aade-d579-48cd-9459-ed818b5a0525",
- "id": "8e41ce76-bf02-4e17-b111-a11a78b5ef97",
- "irn": "irn:capacity:7b2e43bc4892::1s1b5du",
- "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
]
Production platform
Technical Preview platform
legacy | string This parameter makes the request fetch legacy connectors (?legacy=legacy) |
OK
(empty)
[- {
- "bandwidth": 100,
- "connectorType": "cloudGateway",
- "connectorTypeId": "0583aec4-5a16-4dc6-9d4f-3bdda916a998",
- "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "description": "Test pour swagger",
- "groupId": "1878f0c2-0f1b-4828-9fb5-bf6fcc321a30",
- "id": "c771c189-ffae-4d55-b86c-d0e3d4f9f48a",
- "irn": "irn:connectors:vevvu7bed7kk::9deb7p",
- "kind": "single",
- "name": "Test_Example",
- "organisationId": "1878f0c2-0f1b-4828-9fb5-bf6fcc321a30",
- "status": 0,
- "tagIds": [
- "tag1",
- "tag2"
], - "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
]
Production platform
Technical Preview platform
groupid required | string <uuid> ID of the group to which connector belongs |
flow | string This parameter makes the request fetch flow connectors (?flow=flow) |
OK
(empty)
{- "bandwidth": 100,
- "connectorType": "cloudGateway",
- "connectorTypeId": "0583aec4-5a16-4dc6-9d4f-3bdda916a998",
- "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "description": "Test pour swagger",
- "groupId": "1878f0c2-0f1b-4828-9fb5-bf6fcc321a30",
- "id": "c771c189-ffae-4d55-b86c-d0e3d4f9f48a",
- "irn": "irn:connectors:vevvu7bed7kk::9deb7p",
- "kind": "single",
- "name": "Test_Example",
- "organisationId": "1878f0c2-0f1b-4828-9fb5-bf6fcc321a30",
- "status": 0,
- "tagIds": [
- "tag1",
- "tag2"
], - "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
Production platform
Technical Preview platform
groupID | string <uuid> filter connectors by groupID (?groupID=group_uuid') |
family | string filter connectors by family name in aws, gcp, azure ect... (?family=aws') |
destinationID | string <uuid> filter connectors by destinationID (?destinationID=destination_uuid') |
linkedTo | string filter connectors that are linked to a specific IRN of connector or IRE (?linkedTo=irn') |
slacity | string <uuid> filter connectors by sla city (?slacity=London') |
tags | Array of strings <uuid> filter connectors by tags (?tags=tag1_uuid,tag2_uuid') |
edgeCode | string filter connectors by related edge code (?edgeCode=edge-code') |
status | string Enum: "OK" "KO" filter connectors by status (?status=connector-status') |
OK
(empty)
[- {
- "bandwidth": 100,
- "connectorType": "cloudGateway",
- "connectorTypeId": "0583aec4-5a16-4dc6-9d4f-3bdda916a998",
- "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "description": "Test pour swagger",
- "groupId": "1878f0c2-0f1b-4828-9fb5-bf6fcc321a30",
- "id": "c771c189-ffae-4d55-b86c-d0e3d4f9f48a",
- "irn": "irn:connectors:vevvu7bed7kk::9deb7p",
- "kind": "single",
- "name": "Test_Example",
- "organisationId": "1878f0c2-0f1b-4828-9fb5-bf6fcc321a30",
- "status": 0,
- "tagIds": [
- "tag1",
- "tag2"
], - "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
]
Production platform
Technical Preview platform
connid required | string <uuid> ID of connectors to return |
OK
(empty)
{- "bandwidth": 100,
- "connectorType": "cloudGateway",
- "connectorTypeId": "0583aec4-5a16-4dc6-9d4f-3bdda916a998",
- "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "description": "Test pour swagger",
- "groupId": "1878f0c2-0f1b-4828-9fb5-bf6fcc321a30",
- "id": "c771c189-ffae-4d55-b86c-d0e3d4f9f48a",
- "irn": "irn:connectors:vevvu7bed7kk::9deb7p",
- "kind": "single",
- "name": "Test_Example",
- "organisationId": "1878f0c2-0f1b-4828-9fb5-bf6fcc321a30",
- "status": 0,
- "tagIds": [
- "tag1",
- "tag2"
], - "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
Production platform
Technical Preview platform
connid required | string <uuid> ID of connectors you want informations to |
OK
{- "prefixes": [
- {
- "connectorId": "string",
- "connectorName": "string",
- "interface": "string",
- "isActive": true,
- "localPreference": 0,
- "nextHop": "string",
- "path": "string",
- "prefix": "string",
- "protocol": "string"
}
], - "requestDate": "string"
}
Production platform
Technical Preview platform
csp | object |
description | string |
entreprise | object |
groupId | string |
name | string |
tagIds | Array of strings |
OK
{- "csp": {
- "aws": {
- "amazonAddress": "90.100.1.100/24",
- "asNumber": 64512,
- "awsAccount": 113951032104,
- "customerAddress": "88.100.1.75/24",
- "platformAsNumber": 65000
}, - "awshostedconnection": {
- "asNumber": 64512,
- "awsAccount": 113951032104,
- "platformAsNumber": 65000,
- "portSpeed": "50Mbps"
}, - "azure": {
- "azureServiceKey": "393cd991-f81b-4f07-a8f4-f681bcf9a9e0",
- "platformAsNumber": 65000,
- "primarySubnet": "88.100.1.75/24",
- "secondarySubnet": "90.100.1.100/24"
}, - "cloudDestinationID": "string",
- "gcp": {
- "bandwidth": "BPS_50M",
- "med": 2147483648,
- "pairingKey": "59b272c1-2b00-415c-b3a7-f9c0d3941957/europe-west4/1",
- "platformAsNumber": 65000
}
}, - "description": "string",
- "entreprise": {
- "cloudApplianceCloudVirtualInterfaceIP": "string",
- "cloudApplianceID": "string",
- "cmeBGPKey": "string",
- "cmeGatewayIP": "string",
- "cmeMask": "string",
- "customerASN": 0,
- "interCloudCloudApplianceASN": 0,
- "vlan": 0
}, - "groupId": "string",
- "name": "string",
- "tagIds": [
- "string"
]
}
{- "connectorType": "cloudGateway",
- "connectorTypeId": "0583aec4-5a16-4dc6-9d4f-3bdda916a998",
- "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "description": "Test pour swagger",
- "groupId": "1878f0c2-0f1b-4828-9fb5-bf6fcc321a30",
- "id": "c771c189-ffae-4d55-b86c-d0e3d4f9f48a",
- "irn": "irn:connectors:vevvu7bed7kk::9deb7p",
- "name": "Test_Example",
- "organisationId": "1878f0c2-0f1b-4828-9fb5-bf6fcc321a30",
- "tagIds": [
- "tag1",
- "tag2"
], - "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
Production platform
Technical Preview platform
csp | object |
description | string |
entreprise | object |
groupId | string |
name | string |
tagIds | Array of strings |
OK
{- "csp": {
- "aws": {
- "amazonAddress": "90.100.1.100/24",
- "asNumber": 64512,
- "awsAccount": 113951032104,
- "customerAddress": "88.100.1.75/24",
- "platformAsNumber": 65000
}, - "awshostedconnection": {
- "asNumber": 64512,
- "awsAccount": 113951032104,
- "platformAsNumber": 65000,
- "portSpeed": "50Mbps"
}, - "azure": {
- "azureServiceKey": "393cd991-f81b-4f07-a8f4-f681bcf9a9e0",
- "platformAsNumber": 65000,
- "primarySubnet": "88.100.1.75/24",
- "secondarySubnet": "90.100.1.100/24"
}, - "cloudDestinationID": "string",
- "gcp": {
- "bandwidth": "BPS_50M",
- "med": 2147483648,
- "pairingKey": "59b272c1-2b00-415c-b3a7-f9c0d3941957/europe-west4/1",
- "platformAsNumber": 65000
}
}, - "description": "string",
- "entreprise": {
- "cloudApplianceCloudVirtualInterfaceIP": "string",
- "cloudApplianceID": "string",
- "cmeBGPKey": "string",
- "cmeGatewayIP": "string",
- "cmeMask": "string",
- "customerASN": 0,
- "interCloudCloudApplianceASN": 0,
- "vlan": 0
}, - "groupId": "string",
- "name": "string",
- "tagIds": [
- "string"
]
}
{- "connectorType": "cloudGateway",
- "connectorTypeId": "0583aec4-5a16-4dc6-9d4f-3bdda916a998",
- "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "description": "Test pour swagger",
- "groupId": "1878f0c2-0f1b-4828-9fb5-bf6fcc321a30",
- "id": "c771c189-ffae-4d55-b86c-d0e3d4f9f48a",
- "irn": "irn:connectors:vevvu7bed7kk::9deb7p",
- "name": "Test_Example",
- "organisationId": "1878f0c2-0f1b-4828-9fb5-bf6fcc321a30",
- "tagIds": [
- "tag1",
- "tag2"
], - "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
Production platform
Technical Preview platform
name | string |
OK connector can be created with this name
{- "name": "string"
}
Production platform
Technical Preview platform
connid required | string <uuid> ID of connectors to return |
OK
{- "actions": { },
- "read": {
- "csp": {
- "aws": {
- "asNumber": 64512,
- "awsAccount": 113951032104,
- "dxvif": "dxvif-12eafb",
- "platformAsNumber": 65000
}, - "awshostedconnection": {
- "asNumber": 64512,
- "awsAccount": 113951032104,
- "awsPeerIP": "169.254.0.0",
- "bgpKey": "c3eb7091a4e1088f286f9e38551d161f",
- "connectionId": "dxcon-a4b6ef",
- "customerPeerIP": "169.254.0.1",
- "platformAsNumber": 65000,
- "portSpeed": "50Mbps",
- "vlanId": 4015
}, - "azure": {
- "azureServiceKey": "393cd991-f81b-4f07-a8f4-f681bcf9a9e0",
- "platformAsNumber": 65000
}, - "cloudDestinationID": "string",
- "gcp": {
- "bandwidth": "BPS_50M",
- "interconnectId": "cst-abc-001-a1-gcp-eureope-west1",
- "med": 2147483648,
- "pairingKey": "59b272c1-2b00-415c-b3a7-f9c0d3941957/europe-west4/1",
- "platformAsNumber": 65000
}
}, - "description": "string",
- "entreprise": {
- "cloudApplianceCloudVirtualInterfaceIP": "string",
- "cloudApplianceID": "string",
- "cmeBGPKey": "string",
- "cmeGatewayIP": "string",
- "cmeMask": "string",
- "customerASN": 0,
- "interCloudCloudApplianceASN": 0,
- "vlan": 0
}, - "groupId": "string",
- "name": "string",
- "tagIds": [
- "string"
]
}, - "write": {
- "csp": {
- "aws": {
- "amazonAddress": "string",
- "asNumber": 64512,
- "awsAccount": 0,
- "customerAddress": "string",
- "platformAsNumber": 65000
}, - "awshostedconnection": {
- "asNumber": 64512,
- "awsAccount": 0,
- "platformAsNumber": 65000,
- "portSpeed": "string"
}, - "azure": {
- "platformAsNumber": 65000,
- "primarySubnet": "string",
- "secondarySubnet": "string",
- "serviceKey": "string"
}, - "cloudDestinationID": "string",
- "gcp": {
- "bandwidth": "string",
- "med": 0,
- "pairingKey": "string",
- "platformAsNumber": 65000
}
}, - "description": "string",
- "entreprise": {
- "cloudApplianceCloudVirtualInterfaceIP": "string",
- "cloudApplianceID": "string",
- "cmeBGPKey": "string",
- "cmeGatewayIP": "string",
- "cmeMask": "string",
- "customerASN": 0,
- "interCloudCloudApplianceASN": 0,
- "vlan": 0
}, - "groupId": "string",
- "name": "string",
- "tagIds": [
- "string"
]
}
}
Production platform
Technical Preview platform
connid required | string <uuid> ID of connectors to return |
csp | object |
description | string |
entreprise | object |
groupId | string |
name | string |
tagIds | Array of strings |
OK
{- "csp": {
- "aws": {
- "amazonAddress": "90.100.1.100/24",
- "asNumber": 64512,
- "awsAccount": 113951032104,
- "customerAddress": "88.100.1.75/24",
- "platformAsNumber": 65000
}, - "awshostedconnection": {
- "asNumber": 64512,
- "awsAccount": 113951032104,
- "platformAsNumber": 65000,
- "portSpeed": "50Mbps"
}, - "azure": {
- "azureServiceKey": "393cd991-f81b-4f07-a8f4-f681bcf9a9e0",
- "platformAsNumber": 65000,
- "primarySubnet": "88.100.1.75/24",
- "secondarySubnet": "90.100.1.100/24"
}, - "cloudDestinationID": "string",
- "gcp": {
- "bandwidth": "BPS_50M",
- "med": 2147483648,
- "pairingKey": "59b272c1-2b00-415c-b3a7-f9c0d3941957/europe-west4/1",
- "platformAsNumber": 65000
}
}, - "description": "string",
- "entreprise": {
- "cloudApplianceCloudVirtualInterfaceIP": "string",
- "cloudApplianceID": "string",
- "cmeBGPKey": "string",
- "cmeGatewayIP": "string",
- "cmeMask": "string",
- "customerASN": 0,
- "interCloudCloudApplianceASN": 0,
- "vlan": 0
}, - "groupId": "string",
- "name": "string",
- "tagIds": [
- "string"
]
}
{- "bandwidth": 100,
- "connectorType": "cloudGateway",
- "connectorTypeId": "0583aec4-5a16-4dc6-9d4f-3bdda916a998",
- "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "description": "Test pour swagger",
- "groupId": "1878f0c2-0f1b-4828-9fb5-bf6fcc321a30",
- "id": "c771c189-ffae-4d55-b86c-d0e3d4f9f48a",
- "irn": "irn:connectors:vevvu7bed7kk::9deb7p",
- "kind": "single",
- "name": "Test_Example",
- "organisationId": "1878f0c2-0f1b-4828-9fb5-bf6fcc321a30",
- "status": 0,
- "tagIds": [
- "tag1",
- "tag2"
], - "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
Production platform
Technical Preview platform
connid required | string <uuid> ID of connectors to delete |
OK
Method not allowed, check if connector is linked (it is forbidden to delete a linked connector)
Production platform
Technical Preview platform
connid required | string <uuid> ID of connectors to return |
OK
{- "connectorType": "cloudGateway",
- "connectorTypeId": "0583aec4-5a16-4dc6-9d4f-3bdda916a998",
- "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "description": "Test pour swagger",
- "groupId": "1878f0c2-0f1b-4828-9fb5-bf6fcc321a30",
- "id": "c771c189-ffae-4d55-b86c-d0e3d4f9f48a",
- "irn": "irn:connectors:vevvu7bed7kk::9deb7p",
- "name": "Test_Example",
- "organisationId": "1878f0c2-0f1b-4828-9fb5-bf6fcc321a30",
- "tagIds": [
- "tag1",
- "tag2"
], - "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
Production platform
Technical Preview platform
description | string |
from | string irn of the from linked object |
name | string |
tagIds | Array of strings |
to | string irn of the to linked object |
OK
{- "description": "This link reach AWS from Azure",
- "from": "irn:connector:7b2e43bc4892:enterprise:qvlb3e",
- "name": "Cloud To Cloud",
- "tagIds": [
- "tag1",
- "tag2"
], - "to": "irn:connectors:skstok62tbks::p0q4dy"
}
{- "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "from": "878f0c2-0f1b-4828-9fb5-bf6fcc321a30",
- "id": "c771c189-ffae-4d55-b86c-d0e3d4f9f48a",
- "name": "Cloud To Cloud",
- "state": "deployed",
- "tagIds": [
- "tag1",
- "tag2"
], - "to": "0583aec4-5a16-4dc6-9d4f-3bdda916a998",
- "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
Production platform
Technical Preview platform
linkid required | string <uuid> ID of link to delete |
OK
Production platform
Technical Preview platform
linkid required | string <uuid> ID of link to deploy |
OK
{- "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "from": "878f0c2-0f1b-4828-9fb5-bf6fcc321a30",
- "id": "c771c189-ffae-4d55-b86c-d0e3d4f9f48a",
- "name": "Cloud To Cloud",
- "state": "deployed",
- "tagIds": [
- "tag1",
- "tag2"
], - "to": "0583aec4-5a16-4dc6-9d4f-3bdda916a998",
- "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
Production platform
Technical Preview platform
description | string |
from | string irn of the from linked object |
name | string |
tagIds | Array of strings |
to | string irn of the to linked object |
OK
{- "description": "This link reach AWS from Azure",
- "from": "irn:connector:7b2e43bc4892:enterprise:qvlb3e",
- "name": "Cloud To Cloud",
- "tagIds": [
- "tag1",
- "tag2"
], - "to": "irn:connectors:skstok62tbks::p0q4dy"
}
{- "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "from": "878f0c2-0f1b-4828-9fb5-bf6fcc321a30",
- "id": "c771c189-ffae-4d55-b86c-d0e3d4f9f48a",
- "name": "Cloud To Cloud",
- "tagIds": [
- "tag1",
- "tag2"
], - "to": "0583aec4-5a16-4dc6-9d4f-3bdda916a998",
- "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
Production platform
Technical Preview platform
groupid required | string <uuid> ID of the group to which link belongs |
OK
{- "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "from": "irn:connector:fb9d10ad6f8b::18mz09b",
- "id": "c771c189-ffae-4d55-b86c-d0e3d4f9f48a",
- "name": "Connector To IRGW",
- "tagIds": [
- "tag1",
- "tag2"
], - "to": "irn:ire:7b2e43bc4892::1lblhtm",
- "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
Production platform
Technical Preview platform
groupid required | string <uuid> ID of the group to which link belongs |
OK
{- "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "from": "878f0c2-0f1b-4828-9fb5-bf6fcc321a30",
- "id": "c771c189-ffae-4d55-b86c-d0e3d4f9f48a",
- "name": "Cloud To Cloud",
- "tagIds": [
- "tag1",
- "tag2"
], - "to": "0583aec4-5a16-4dc6-9d4f-3bdda916a998",
- "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
Production platform
Technical Preview platform
linkid required | string <uuid> ID of link to return |
OK
{- "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "description": "This link is dedicated to check data consistency after version upgrade",
- "from": "1878f0c2-0f1b-4828-9fb5-bf6fcc321a30",
- "id": "c771c189-ffae-4d55-b86c-d0e3d4f9f48a",
- "irn": "irn:link:skstok62tbks::1s2w551",
- "name": "TEST LINK 1",
- "tagIds": [
- "tag1",
- "tag2"
], - "to": "1878f0c2-0f1b-4828-9fb5-bf6fcc321a30"
}
Production platform
Technical Preview platform
cloudApplianceOnly | boolean Filter cloud appliances Incompatible with |
routingApplianceOnly | boolean Filter routing appliances Incompatible with |
virtualInterfacesIds | Array of strings <uuid> Filter routing appliances with cloud virtual interface id |
OK
[- {
- "cloudApplianceModel": null,
- "cloudApplianceModelID": "51899811-3c62-493c-84e8-329575d72213",
- "cloudVirtualInterfaces": {
- "GatewayID": "aeaf42dd-a907-41a7-89cb-a22bdaf1662d",
- "custParameters": {
- "bgpKey": "$9$-WwoZik.fQnZUOIcyKvZUDHmTn6CBIh",
- "gwAs": "{{ ic_gw_as}}",
- "gwIP": "10.158.26.22",
- "gwSubnetMask": "/23",
- "gwUnit": 2,
- "ipAddress": "10.158.26.22",
- "peerAs": "{{ cme_gw_as}}",
- "peerIP": "10.158.26.21",
- "vlanID": 343
}, - "description": "Cool Description of my cloud virtual interface",
- "irn": "35a125ee-91e1-4983-8279-327fcfe6445a",
- "linkedEntrepriseConnectorName": "Entreprise Connector Toto",
- "organisationId": "8e1e0fc1-f11d-47a7-8264-d835f2f30523"
}, - "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "custCloudApplianceInterface": "ge-0/0/0",
- "description": "The gateway of toto",
- "icCloudApplianceInterface": "ge-0/0/8",
- "id": "aeaf42dd-a907-41a7-89cb-a22bdaf1662d",
- "irn": "irn:cpe:s13be8hfbbk8::shsycn",
- "kind": "cloudAppliance",
- "name": "Toto Gateway",
- "organisationId": "d4beb608-b6c7-429b-a209-59a1710140f1",
- "siteName": "REAUMUR 88-90 Boulevard de Sébastopol, 75003 Paris",
- "tagIds": null,
- "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
]
Production platform
Technical Preview platform
cloudAppliancesId required | string <uuid> ID of the cloud appliances to retrieve |
OK
{- "cloudApplianceModel": null,
- "cloudApplianceModelID": "51899811-3c62-493c-84e8-329575d72213",
- "cloudVirtualInterfaces": {
- "GatewayID": "aeaf42dd-a907-41a7-89cb-a22bdaf1662d",
- "custParameters": {
- "bgpKey": "$9$-WwoZik.fQnZUOIcyKvZUDHmTn6CBIh",
- "gwAs": "{{ ic_gw_as}}",
- "gwIP": "10.158.26.22",
- "gwSubnetMask": "/23",
- "gwUnit": 2,
- "ipAddress": "10.158.26.22",
- "peerAs": "{{ cme_gw_as}}",
- "peerIP": "10.158.26.21",
- "vlanID": 343
}, - "description": "Cool Description of my cloud virtual interface",
- "irn": "35a125ee-91e1-4983-8279-327fcfe6445a",
- "linkedEntrepriseConnectorName": "Entreprise Connector Toto",
- "organisationId": "8e1e0fc1-f11d-47a7-8264-d835f2f30523"
}, - "createdAt": "2018-05-16 08:40:51.161299+02:00",
- "custCloudApplianceInterface": "ge-0/0/0",
- "description": "The gateway of toto",
- "icCloudApplianceInterface": "ge-0/0/8",
- "id": "aeaf42dd-a907-41a7-89cb-a22bdaf1662d",
- "irn": "irn:cpe:s13be8hfbbk8::shsycn",
- "kind": "cloudAppliance",
- "name": "Toto Gateway",
- "organisationId": "d4beb608-b6c7-429b-a209-59a1710140f1",
- "siteName": "REAUMUR 88-90 Boulevard de Sébastopol, 75003 Paris",
- "tagIds": null,
- "updatedAt": "2018-05-16 08:40:51.161299+02:00"
}
Production platform
Technical Preview platform
cloudAppliancesId required | string <uuid> ID of the GW that the virtualGW belongs to |
OK
{- "cloudApplianceId": "aeaf42dd-a907-41a7-89cb-a22bdaf1662d",
- "cmeIfDescription": "CST:L3-CONNECTOR-INTERCLOUD-036-AWS",
- "custParameters": {
- "bgpKey": "$9$-WwoZik.fQnZUOIcyKvZUDHmTn6CBIh",
- "gwAs": "{{ ic_gw_as}}",
- "gwIP": "10.158.26.22",
- "gwSubnetMask": "/23",
- "gwUnit": 2,
- "ipAddress": "10.158.26.22",
- "peerAs": "{{ cme_gw_as}}",
- "peerIP": "10.158.26.21",
- "vlanID": 343
}, - "description": "Cool Description of my cloud virtual interface",
- "irn": "51899811-3c62-493c-84e8-329575d72213",
- "linkedEntrepriseConnectorName": "Entreprise Connector Toto",
- "organisationId": "8e1e0fc1-f11d-47a7-8264-d835f2f30523"
}
Production platform
Technical Preview platform
cloudAppliancesId required | string <uuid> ID of cloud appliance to retrieve |
cloudVirtualInterfacesId required | string <uuid> ID of virtualGateway to return |
OK
{- "cloudApplianceId": "aeaf42dd-a907-41a7-89cb-a22bdaf1662d",
- "cmeIfDescription": "CST:L3-CONNECTOR-INTERCLOUD-036-AWS",
- "custParameters": {
- "bgpKey": "$9$-WwoZik.fQnZUOIcyKvZUDHmTn6CBIh",
- "gwAs": "{{ ic_gw_as}}",
- "gwIP": "10.158.26.22",
- "gwSubnetMask": "/23",
- "gwUnit": 2,
- "ipAddress": "10.158.26.22",
- "peerAs": "{{ cme_gw_as}}",
- "peerIP": "10.158.26.21",
- "vlanID": 343
}, - "description": "Cool Description of my cloud virtual interface",
- "irn": "51899811-3c62-493c-84e8-329575d72213",
- "linkedEntrepriseConnectorName": "Entreprise Connector Toto",
- "organisationId": "8e1e0fc1-f11d-47a7-8264-d835f2f30523"
}
All timestamps used below are formatted according to the RFC 3339 standard, as follows:
YYYY-MM-DDTHH:MM:SS+hh:mm (with locale) YYYY-MM-DDTHH:MM:SSZ (in UTC)
'T' is a separator. 'Z' means that the timestamp is in UTC. If it's not, you should omit the 'Z' and use the plus or minus sign to give the difference compared to UTC timezone. hh:mm is the difference between UTC and your timezone.
Please note that special characters, such as the plus sign, should be escaped in the URLs.
Example in UTC: 2020-06-24T19:13:35Z
Example with a different locale: 2020-06-24T19:13:35+02:00 With escape character: 2020-06-24T19:13:35%2B02:00
Production platform
Technical Preview platform
The resource is identified from its IRN. The metric types define the category of the measurement. The different metric types are:
irn required | string InterCloud Resource Identifier |
OK
curl https://console.intercloud.io/metrics/query/irn/irn:group:e0e815aaa216::ngpmsf -H 'Authorization: Bearer <YOUR_ACCESS_TOKEN>'
[- {
- "name": "bits_send",
- "type": "timeserie"
}
]
Production platform
Technical Preview platform
The route run an identified metrics by IRN or ID which will return KPIS or status depending the ressources. The user is identified from the authentication token passed in authentication header. Note: the format of the data is specific to the origin backend. It will not be described in this document. You can consult backend providers for get a description of the measurement data format:
irn required | string InterCloud Resource Identifier |
metricType required | string Category of measurement to retrieve |
start-d | string <date-time> Timestamp of the starting point of measurement. It should be in UTC according to the RFC 3339 standard. (https://tools.ietf.org/html/rfc3339) |
end-d | string <date-time> Timestamp of the ending point of measurement. It should be in UTC according to the RFC 3339 standard. (https://tools.ietf.org/html/rfc3339) |
interv | string <integer> (optional) time between samples in minutes |
region | string (for region metrics only) the region associated to the given metrics |
OK
Bad Request, return when date query argument are malformed
curl https://console.intercloud.io/metrics/query/irn/irn:group:e0e815aaa216::ngpmsf/europe/run?start-d=2020-06-17T19:13:35%2B02:00&end-d=2020-06-24T19:13:35%2B02:00 -H 'Authorization: Bearer <YOUR_ACCESS_TOKEN>'
{- "results": [
- {
- "bgpName": "BGP peer - CST-INTERCLOUD-002-AZURE-AMSTERDAM-PARIS-SECONDARY",
- "bgpStatus": "0,",
- "data": null,
- "hostName": "hostname.intercloud.network",
- "hostStatus": 0
}, - {
- "bgpName": "BGP peer - CST-INTERCLOUD-002-AZURE-AMSTERDAM-PARIS-PRIMARY",
- "bgpStatus": "0,",
- "data": null,
- "hostName": "hostname.intercloud.network",
- "hostStatus": 0
}
], - "type": "JSONSchemeForConnectors"
}