{ "request": { "headers": { }, "method": "post", "params": { }, "path": "/v2.0/tokens", "body": { "$schema": "http://json-schema.org/draft-03/schema#", "description": "Generated from pacto with shasum b5ec82bb381eac4a445c35bbfbfcc324135a742c", "type": "object", "required": true, "properties": { "auth": { "type": "object", "required": true, "properties": { "RAX-KSKEY:apiKeyCredentials": { "type": "object", "required": true, "properties": { "username": { "type": "string", "required": true }, "apiKey": { "type": "string", "required": true } } } } } } } }, "response": { "headers": { "Content-Type": "application/json", "Vary": "Accept, Accept-Encoding, X-Auth-Token", "Front-End-Https": "on" }, "status": 200, "body": { "$schema": "http://json-schema.org/draft-03/schema#", "description": "Generated from vcr with shasum 08229587d646a34b98537922185383935c77205a", "type": "object", "required": true, "properties": { "access": { "type": "object", "required": true, "properties": { "token": { "type": "object", "required": true, "properties": { "id": { "type": "string", "required": true }, "expires": { "type": "string", "required": true }, "tenant": { "type": "object", "required": true, "properties": { "id": { "type": "string", "required": true }, "name": { "type": "string", "required": true } } }, "RAX-AUTH:authenticatedBy": { "type": "array", "required": true, "minItems": 1, "uniqueItems": true, "items": { "type": "string", "required": false } } } }, "serviceCatalog": { "type": "array", "required": true, "minItems": 1, "uniqueItems": true, "items": { "type": "object", "required": true, "properties": { "name": { "type": "string", "required": true }, "endpoints": { "type": "array", "required": true, "minItems": 1, "uniqueItems": true, "items": { "type": "object", "required": true, "properties": { "region": { "type": "string", "required": false }, "tenantId": { "type": "string", "required": true }, "publicURL": { "type": "string", "required": true }, "internalURL": { "type": "string", "required": false } } } }, "type": { "type": "string", "required": true } } } }, "user": { "type": "object", "required": true, "properties": { "id": { "type": "string", "required": true }, "roles": { "type": "array", "required": true, "minItems": 1, "uniqueItems": true, "items": { "type": "object", "required": true, "properties": { "tenantId": { "type": "string", "required": false }, "id": { "type": "string", "required": true }, "description": { "type": "string", "required": true }, "name": { "type": "string", "required": true } } } }, "name": { "type": "string", "required": true }, "RAX-AUTH:defaultRegion": { "type": "string", "required": true } } } } } } } } }