-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenapi.yaml
More file actions
executable file
·54 lines (54 loc) · 1.75 KB
/
openapi.yaml
File metadata and controls
executable file
·54 lines (54 loc) · 1.75 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
openapi: 3.0.3
info:
title: FediTerm
version: 2.0.0
description: Mastodon terminal client — no HTTP server, schemas only
paths: {}
components:
schemas:
UIState:
type: object
properties:
key: { type: string }
mode: { type: string, enum: [timeline, compose, setup, reply] }
setupStep: { type: string }
selection: { type: integer }
cursor: { type: integer }
totalPosts: { type: integer }
composeText: { type: string }
latestId: { type: string }
replyToId: { type: string }
replyToAcct: { type: string }
TerminalStyles:
type: object
properties:
separatorLine: { type: string }
inputWidth: { type: integer }
reset: { type: string }
muted: { type: string }
heading: { type: string }
prompt: { type: string }
cursor: { type: string }
counter: { type: string }
authorName: { type: string }
username: { type: string }
cursorIndicator: { type: string }
Post:
type: object
properties:
mastodonId: { type: string }
key: { type: integer }
acct: { type: string }
displayName: { type: string }
content: { type: string }
createdAt: { type: string }
boosterAcct: { type: string }
boosted: { type: string }
favourited: { type: string }
MastodonAccount:
type: object
properties:
acct: { type: string }
display_name: { type: string }
id: { type: string }
username: { type: string }