-
Notifications
You must be signed in to change notification settings - Fork 8
/
translated-url.yaml
54 lines (54 loc) · 1.57 KB
/
translated-url.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
openapi: 3.0.0
info:
title: ARL translator
version: v1
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
- url: https://{hostname}/edge-diagnostics/v1
x-akamai:
auth-type: EDGE_GRID
file-path: translated-url.yaml
paths:
/translated-url:
post:
operationId: post-translated-url
summary: Translate an Akamaized URL
tags:
- ARL translator
description: |
Provides basic information about a specific hostname or domain name, such as typecode, origin server, CP code, serial number, and TTL. A URL becomes an [Akamaized URL (ARL)](doc:arl-syntax) once it's on an edge server.
requestBody:
required: true
content:
application/json:
example:
$ref: examples/ArlRequest.json
schema:
$ref: schemas/ArlRequest.yaml
responses:
200:
description: |
The response provides details for the ARL.
headers:
X-RateLimit-Limit:
$ref: headers/X-RateLimit-Limit.yaml
X-RateLimit-Remaining:
$ref: headers/X-RateLimit-Remaining.yaml
content:
application/json:
example:
$ref: examples/ArlContainer.json
schema:
$ref: schemas/ArlContainer.yaml
400:
$ref: errors/400.yaml
401:
$ref: errors/401.yaml
403:
$ref: errors/403.yaml
405:
$ref: errors/405.yaml
429:
$ref: errors/429.yaml