-
Notifications
You must be signed in to change notification settings - Fork 1
/
openapi.yaml
41 lines (40 loc) · 1.02 KB
/
openapi.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
openapi: 3.0.1
info:
title: WebRewind
description: A plugin for getting the image of a website at a time.
version: 'v1'
servers:
- url: https://webrewind.app
paths:
/api/get-wayback-url:
get:
operationId: getWaybackUrl
summary: Get image url of a website looking back in time.
parameters:
- in: query
name: url
schema:
type: string
required: true
description: The URL of the website.
- in: query
name: timestamp
schema:
type: string
required: true
description: The timestamp of the snapshot in YYYYMMDDHHMMSS format.
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/getWaybackUrlResponse'
components:
schemas:
getWaybackUrlResponse:
type: object
properties:
image_url:
type: string
description: The URL of the image.