This repository has been archived by the owner on Dec 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathSpeckleSpecs.yaml
111 lines (100 loc) · 4.65 KB
/
SpeckleSpecs.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
openapi: '3.0.2'
info:
title: Speckle
description: |-
Speckle is an open source design/AEC data communication protocol and platform.
contact:
name: SpeckleWorks
url: 'https://speckle.works'
email: '[email protected]'
license:
name: MIT
version: 1.0.0-beta
servers:
- url: 'https://hestia.speckle.works/api'
description: A publicly hosted Speckle server
tags:
- name: Accounts
description: Register, Login and more.
- name: Clients
description: Create, get and update application clients.
- name: Projects
description: Create, get and update projects.
- name: Comments
description: Create, get and update comments.
- name: Streams
description: Create, get and update streams.
- name: Objects
description: Create, get and update objects.
components:
schemas:
ResourceBase: { $ref: ./schemas/ResourceBase.yaml }
User: { $ref: ./schemas/User.yaml }
AppClient: { $ref: ./schemas/AppClient.yaml }
Project: { $ref: ./schemas/Project.yaml }
Comment: { $ref: ./schemas/Comment.yaml }
SpeckleStream: { $ref: ./schemas/SpeckleStream.yaml }
Layer: { $ref: ./schemas/Layer.yaml }
LayerProperties: { $ref: ./schemas/LayerProperties.yaml }
ResponseUser: { $ref: ./schemas/ResponseUser.yaml }
ResponseBase: { $ref: ./schemas/ResponseBase.yaml }
ResponseClient: { $ref: ./schemas/ResponseClient.yaml }
ResponseProject: { $ref: ./schemas/ResponseProject.yaml }
ResponseComment: { $ref: ./schemas/ResponseComment.yaml }
ResponseStream: { $ref: ./schemas/ResponseStream.yaml }
ResponseObject: { $ref: ./schemas/ResponseObject.yaml }
ResponseStreamClone: { $ref: ./schemas/ResponseStreamClone.yaml }
ResponseStreamDiff: { $ref: ./schemas/ResponseStreamDiff.yaml }
SpeckleObject: { $ref: ./schemas/SpeckleObject.yaml }
SpeckleAbstract: { $ref: ./schemas/SpeckleAbstract.yaml }
SpecklePlaceholder: { $ref: ./schemas/SpecklePlaceholder.yaml }
SpeckleBoolean: { $ref: ./schemas/SpeckleBoolean.yaml }
SpeckleNumber: { $ref: ./schemas/SpeckleNumber.yaml }
SpeckleString: { $ref: ./schemas/SpeckleString.yaml }
SpeckleInterval: { $ref: ./schemas/SpeckleInterval.yaml }
SpeckleInterval2d: { $ref: ./schemas/SpeckleInterval2d.yaml }
SpecklePoint: { $ref: ./schemas/SpecklePoint.yaml }
SpeckleVector: { $ref: ./schemas/SpeckleVector.yaml }
SpecklePlane: { $ref: ./schemas/SpecklePlane.yaml }
SpeckleCircle: { $ref: ./schemas/SpeckleCircle.yaml }
SpeckleArc: { $ref: ./schemas/SpeckleArc.yaml }
SpeckleEllipse: { $ref: ./schemas/SpeckleEllipse.yaml }
SpecklePolycurve: { $ref: ./schemas/SpecklePolycurve.yaml }
SpeckleBox: { $ref: ./schemas/SpeckleBox.yaml }
SpeckleLine: { $ref: ./schemas/SpeckleLine.yaml }
SpecklePolyline: { $ref: ./schemas/SpecklePolyline.yaml }
SpeckleCurve: { $ref: ./schemas/SpeckleCurve.yaml }
SpeckleMesh: { $ref: ./schemas/SpeckleMesh.yaml }
SpeckleBrep: { $ref: ./schemas/SpeckleBrep.yaml }
SpeckleExtrusion: { $ref: ./schemas/SpeckleExtrusion.yaml }
SpeckleAnnotation: { $ref: ./schemas/SpeckleAnnotation.yaml }
SpeckleBlock: { $ref: ./schemas/SpeckleBlock.yaml }
securitySchemes:
JWT:
type: apiKey
description: A JWT token acquired from the /accounts/login endpoint.
name: Authorization
in: header
security:
- JWT: []
paths:
/accounts/register: { $ref: ./paths/accounts/register.yaml }
/accounts/login: { $ref: ./paths/accounts/login.yaml }
/accounts/search: { $ref: ./paths/accounts/search.yaml }
/accounts: { $ref: ./paths/accounts/index.yaml }
/accounts/{userId}: { $ref: './paths/accounts/{userId}.yaml' }
/clients: { $ref: ./paths/clients/index.yaml }
/clients/{clientId}: { $ref: './paths/clients/{clientId}.yaml' }
/projects: { $ref: ./paths/projects/index.yaml }
/projects/{projectId}: { $ref: './paths/projects/{projectId}.yaml' }
/comments/{resourceType}/{resourceId}: { $ref: './paths/comments/{resourceType}_{resourceId}.yaml' }
/comments/{commentId}: { $ref: './paths/comments/{commentId}.yaml' }
/streams: { $ref: ./paths/streams/index.yaml }
/streams/{streamId}: { $ref: './paths/streams/{streamId}.yaml' }
/streams/{streamId}/objects: { $ref: './paths/streams/{streamId}_objects.yaml' }
/streams/{streamId}/clone: { $ref: './paths/streams/{streamId}_clone.yaml' }
/streams/{streamId}/diff/{otherStreamId}: { $ref: './paths/streams/{streamId}_diff_{otherStreamId}.yaml' }
/objects: { $ref: ./paths/objects/index.yaml }
/objects/{objectId}: { $ref: './paths/objects/{objectId}.yaml' }
/objects/{objectId}/properties: { $ref: './paths/objects/{objectId}_properties.yaml' }
/objects/getbulk: { $ref: ./paths/objects/getbulk.yaml }