-
Notifications
You must be signed in to change notification settings - Fork 16
/
companieshouse.tradexy.repl.co.yaml
139 lines (134 loc) · 3.53 KB
/
companieshouse.tradexy.repl.co.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
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
openapi: 3.0.1
info:
title: UK Companies House ChatGPT Plugin
description: A plugin that connects to the Companies House API to fetch UK company data.
version: 'v1'
servers:
- url: https://companieshouse.tradexy.repl.co
paths:
/company:
get:
operationId: fetchCompanyData
summary: Fetch the company data
parameters:
- name: companyNumber
in: query
description: The company number to search for
required: true
schema:
type: string
responses:
"200":
description: OK
content:
application/json:
schema:
type: object
description: The company data
/officers:
get:
operationId: fetchOfficers
summary: Fetch the officers of the company
parameters:
- name: companyNumber
in: query
description: The company number to search for
required: true
schema:
type: string
responses:
"200":
description: OK
content:
application/json:
schema:
type: object
description: The officers data
/filing-history:
get:
operationId: fetchFilingHistory
summary: Fetch the filing history of the company
parameters:
- name: companyNumber
in: query
description: The company number to search for
required: true
schema:
type: string
responses:
"200":
description: OK
content:
application/json:
schema:
type: object
description: The filing history data
/insolvency:
get:
operationId: fetchInsolvency
summary: Fetch the insolvency data of the company
parameters:
- name: companyNumber
in: query
description: The company number to search for
required: true
schema:
type: string
responses:
"200":
description: OK
content:
application/json:
schema:
type: object
description: The insolvency data
/charges:
get:
operationId: fetchCharges
summary: Fetch the charges data of the company
parameters:
- name: companyNumber
in: query
description: The company number to search for
required: true
schema:
type: string
responses:
"200":
description: OK
content:
application/json:
schema:
type: object
description: The charges data
/search:
get:
operationId: search_companies
summary: Search for companies
parameters:
- name: q
in: query
description: The search query
required: true
schema:
type: string
- name: items_per_page
in: query
description: The number of search results to return per page
required: false
schema:
type: integer
- name: start_index
in: query
description: The index of the first result item to return
required: false
schema:
type: integer
responses:
"200":
description: OK
content:
application/json:
schema:
type: object
description: The search results