Skip to main content

Get All Service Tokens - Parameters Mapping

This API returns a data set with service tokens.

v3 request
curl -X
GET 'https://api.equinix.com/ecx/v3/serviceTokens'
-H 'content-type: application/json'
-H 'authorization: Bearer qwErtY8zyW1abcdefGHI'
v4 request
curl -X
GET 'https://api.equinix.com/fabric/v4/serviceTokens'
-H 'content-type: application/json'
-H 'authorization: Bearer qwErtY8zyW1abcdefGHI'

v3 API requestv4 API requestDescription
GET /ecx/v3/serviceTokensGET /fabric/v4/serviceTokensRequest: -

Response: v3 and v4 service token objects have different structure and parameters' names. The v4 service token object introduces a nested structure while the v3 service token configuration is based on key-value pairs defined in the metadata array.

Response

v3 request
{
"isFirstPage": true,
"totalCount": 467,
"isLastPage": false,
"pageSize": 20,
"content": [
{
"id": "ea40918e-9b39-4045-8be8-0beaa7eb5ce1-AM-1",
"status": "INACTIVE",
"resource": {
"type": "CX_PORT",
"uuid": "a867f685-421b-21b7-6de0-320a5c00abdd",
"metadata": [
{
"key": "speedLimit",
"value": 100
},
{
"key": "encapsulation",
"value": "Qinq"
},
{
"key": "priority",
"value": "Primary"
},
{
"key": "metroCode",
"value": "AM"
},
{
"key": "cvpId",
"value": 48088
},
{
"key": "name",
"value": "verizon-CX-AM3-NL-QinQ-STD-100G-PRI-JN-124"
},
{
"key": "innerTag",
"value": 102
},
{
"key": "outerTag",
"value": 101
},
{
"key": "subInterface",
"value": 101
},
{
"key": "bandwidth",
"value": 100000000000
},
{
"key": "allowRemoteConnections",
"value": true
}
]
},
"notify": {
"emails": [
"end-customer@xxx.com"
]
},
"preferences": {
"expiry": 10
},
"custOrgId": 85332
}
]
}
v4 request
{
"pagination": {
"offset": 0,
"limit": 10,
"total": 3600,
"next": "http://api.equinix.com/fabric/v4/serviceTokens?offset=10&limit=10"
},
"data": [
{
"href": "http://api.equinix.com/fabric/v4/serviceTokens/8a7c8b84-4030-4047-a5c6-f2a2e45e6f1c",
"type": "VC_TOKEN",
"uuid": "8a7c8b84-4030-4047-a5c6-f2a2e45e6f1c",
"state": "ACTIVE",
"expiry": 29,
"expirationDateTime": "2022-04-13T00:00:00Z",
"connection": {
"type": "EVPL_VC",
"allowRemoteConnection": true,
"bandwidthLimit": 10000,
"aSide": {
"accessPointSelectors": [
{
"type": "COLO",
"port": {
"uuid": "c791f8cb-5a42-a420-8ce0-306a5c00a4ee"
},
"linkProtocol": {
"type": "QINQ",
"vlanCTag": 222,
"vlanSTag": 223
}
}
]
}
},
"notifications": [
{
"type": "NOTIFICATION",
"emails": [
"fusiontestBuyer@equinix.com",
"fusiontestbuyer@equinix.com"
]
}
],
"account": {
"orgId": "91997"
},
"changeLog": {
"createdBy": "901587",
"createdDateTime": "2022-03-14T21:20:49.597Z",
"updatedDateTime": "2022-03-14T21:23:48.941Z"
}
}
]
}

v3 parameterv4 parameterExampleDescription
isLastPage-trueIndicates the first page of results set.
isFirstPage-falseIndicates the last page of results set.
pageNumber-222Results set page number.
-pagination-New container object for pagination parameters.
-pagination.offset200New parameter specifying the results page offset.
pageSizepagination.limit100Number of items returned on a single page.
totalCountpagination.total1000Total number of objects in the data set.
-pagination.nexthttp://api.equinix.com/fabric/v4/serviceTokens?offset=10&limit=10New parameter specyfing the next results page url.
-pagination.previoushttp://api.equinix.com/fabric/v4/serviceTokens?offset=10&limit=10New parameter specyfing the previous results page url.
contentdata-An array of service token objects.
-hrefhttp://api.equinix.com/fabric/v4/metros/AMNew parameter specifying the absolute URL that returns details of the given asset.
-typeVC_TOKENNew parameter specifying token type.
iduuid8a7c8b84-4030-4047-a5c6-f2a2e45e6f1cEquinix-assigned service token identifier.
statusstateACTIVELifecycle stage of the service token.

ACTIVE - A service token has been used to establish a connection.
INACTIVE - A valid service token that hasn't been used yet.
EXPIRED - A service token has reached its expiration date.
DELETED - The connection established through a given service token has been deleted or the service token itself has been deleted.
preferences.expiryexpiry29The number of days when the service token remains valid.
resource.type-CX_PORTFabric port type associated with the service token.
-expirationDateTime2022-04-13T00:00:00ZExpiration date and time of the service token in the IETF ISO 8601 extended date/time format.
 
-connection-Container object for connection configuration.
-connection.typeEVPL_VCNew parameter, connection type.

EVPL_VC - Ethernet virtual private line‒virtual connection
resource.metadata[10].key = allowRemoteConnectionsconnection.allowRemoteConnectiontrueAuthorization to establish connections from a different metro.
resource.metadata[0].key = speedLimitconnection.bandwidthLimit1000Connection bandwidth limit.
-connection.supportedBandwidths[50,100]Supported connection bandwidths.
-connection.aSide/zSide-Container object for A-side/Z-side configuration.
-connection.aSide/zSide.accessPointSelectors-Available access points definitions.
-connection.aSide/zSide.accessPointSelectors[0].typeCOLOAccess point type.
-connection.aSide/zSide.accessPointSelectors[0].port-Port associated with the given access point.
resource.uuidconnection.aSide/zSide.accessPointSelectors[0].port.uuida867f685-421b-21b7-6de0-320a5c00abddEquinix-assigned port identifier.
 connection.aSide/zSide.accessPointSelectors[0].linkProtocol-New container object for link protocol configuration.
resource.metadata[1].key = encapsulationconnection.aSide/zSide.accessPointSelectors[0].linkProtocol.typeQINQ
DOT1Q
Link protocol encapsulation standard.
resource.metadata[6].key = innerTagconnection.aSide/zSide.accessPointSelectors[0].linkProtocol.vlanCTag102QINQ protocol, inner (customer) VLAN frame tag used to identify packets as they traverse trunk lines.
resource.metadata[7].key = outerTagconnection.aSide/zSide.accessPointSelectors[0].linkProtocol.vlanSTag101QINQ protocol, outer (service) VLAN frame tag used to identify packets as they traverse trunk lines.
-notifications-New container object for email notifications configuration.
-notifications[0].typeNOTIFICATIONNew parameter enabling differentiation of notifications.
-notifications[0].emails["falconstestBuyer@equinix.com"]List of up to 12 recipients.
-account-New container object for billing account information.
custOrgIdaccount.orgId91996Equinix-assigned organization identifier.
-changeLog-New container object for changelog information.
createdBychangeLog.createdBytestBuyerStandardUserAllPermIdentity of the asset creator.
createdDatechangeLog.createdDateTime2022-02-09T05:12:33.078ZConnection creation timestamp in the IETF ISO 8601 extended date/time format:
YYYY-MM-DDTHH:MM:SS.000+0000
lastUpdatedDatechangeLog.updatedDateTime2022-02-09T05:12:33.078ZConnection update timestamp in the IETF ISO 8601 extended date/time format:
YYYY-MM-DDTHH:MM:SS.000+0000
resource.metadata[2].key = priority-PrimaryRelative priority in a redundancy group.
resource.metadata[3].key = metroCode-AMMetropolitan area identifier.
resource.metadata[4].key = cvpId-48088Virtual port identifier.
resource.metadata[5].key = name-CX-AM3-NL-QinQ-STDService token name.
resource.metadata[8].key = subInterface-101Subeinterface identifier.
resource.metadata[9].key = bandwidth-100000000000Port bandwidth.