-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhyperbrowser-extensions-api-openapi.yml
More file actions
86 lines (86 loc) · 2.04 KB
/
hyperbrowser-extensions-api-openapi.yml
File metadata and controls
86 lines (86 loc) · 2.04 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
openapi: 3.0.1
info:
title: Hyperbrowser Extensions API
version: 1.0.0
description: Upload and list custom Chrome extensions that can be attached to browser sessions.
contact:
name: Hyperbrowser
url: https://hyperbrowser.ai
license:
name: Hyperbrowser Terms
url: https://hyperbrowser.ai/terms
servers:
- url: https://api.hyperbrowser.ai
description: Production server
security:
- ApiKeyAuth: []
paths:
/api/extensions/add:
post:
operationId: post-api-extensions-add
summary: Add a New Extension
requestBody:
required: true
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/CreateExtensionParams'
responses:
'200':
description: Extension added successfully
content:
application/json:
schema:
$ref: '#/components/schemas/ExtensionResponse'
security:
- ApiKeyAuth: []
tags:
- Extensions
/api/extensions/list:
get:
operationId: get-api-extensions-list
summary: List All Extensions
responses:
'200':
description: Extension added successfully
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ExtensionResponse'
security:
- ApiKeyAuth: []
tags:
- Extensions
components:
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: x-api-key
description: Account API key from app.hyperbrowser.ai
schemas:
CreateExtensionParams:
type: object
properties:
file:
type: string
format: binary
name:
type: string
required:
- file
ExtensionResponse:
type: object
properties:
id:
type: string
name:
type: string
createdAt:
type: string
format: iso8601
updatedAt:
type: string
format: iso8601