-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenapi.json
147 lines (147 loc) · 7.51 KB
/
openapi.json
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
140
141
142
143
144
145
146
147
{
"openapi": "3.1.0",
"info": {
"title": "TMDB API",
"version": "3"
},
"servers": [
{
"url": "https://api.themoviedb.org"
}
],
"components": {
"securitySchemes": {
"sec0": {
"type": "apiKey",
"in": "header",
"name": "Authorization",
"x-bearer-format": "bearer"
}
}
},
"security": [
{
"sec0": []
}
],
"paths": {
"/3/person/{person_id}": {
"get": {
"summary": "Details",
"description": "Query the top level details of a person.",
"operationId": "person-details",
"parameters": [
{
"name": "person_id",
"in": "path",
"schema": {
"type": "integer",
"format": "int32"
},
"required": true
},
{
"name": "append_to_response",
"in": "query",
"description": "comma separated list of endpoints within this namespace, 20 items max",
"schema": {
"type": "string"
}
},
{
"name": "language",
"in": "query",
"schema": {
"type": "string",
"default": "en-US"
}
}
],
"responses": {
"200": {
"description": "200",
"content": {
"application/json": {
"examples": {
"Result": {
"value": "{\"adult\":false,\"also_known_as\":[\"Thomas Jeffrey Hanks\",\"Том Хэнкс\",\"توم هانكس\",\"トム・ハンクス\",\"톰 행크스\",\"ทอม แฮงส์\",\"汤姆·汉克斯\",\"Том Генкс\",\"Том Хенкс\",\"Томас Джеффрі Генкс\",\"Τομ Χανκς\",\"टॉम हैंक्स\",\"ടോം ഹാങ്ക്സ്\",\"湯姆‧漢克斯\",\"湯姆·漢克\"],\"biography\":\"Thomas Jeffrey Hanks (born July 9, 1956) is an American actor and filmmaker. Known for both his comedic and dramatic roles, Hanks is one of the most popular and recognizable film stars worldwide, and is widely regarded as an American cultural icon.\\n\\nHanks made his breakthrough with leading roles in the comedies Splash (1984) and Big (1988). He won two consecutive Academy Awards for Best Actor for starring as a gay lawyer suffering from AIDS in Philadelphia (1993) and a young man with below-average IQ in Forrest Gump (1994). Hanks collaborated with film director Steven Spielberg on five films: Saving Private Ryan (1998), Catch Me If You Can (2002), The Terminal (2004), Bridge of Spies (2015), and The Post (2017), as well as the 2001 miniseries Band of Brothers, which launched him as a director, producer, and screenwriter.\\n\\nHanks' other notable films include the romantic comedies Sleepless in Seattle (1993) and You've Got Mail (1998); the dramas Apollo 13 (1995), The Green Mile (1999), Cast Away (2000), Road to Perdition (2002), and Cloud Atlas (2012); and the biographical dramas Saving Mr. Banks (2013), Captain Phillips (2013), Sully (2016), and A Beautiful Day in the Neighborhood (2019). He has also appeared as the title character in the Robert Langdon film series, and has voiced Sheriff Woody in the Toy Story film series.\\n\\nDescription above from the Wikipedia article Tom Hanks, licensed under CC-BY-SA, full list of contributors on Wikipedia.\",\"birthday\":\"1956-07-09\",\"deathday\":null,\"gender\":2,\"homepage\":null,\"id\":31,\"imdb_id\":\"nm0000158\",\"known_for_department\":\"Acting\",\"name\":\"Tom Hanks\",\"place_of_birth\":\"Concord, California, USA\",\"popularity\":82.989,\"profile_path\":\"/xndWFsBlClOJFRdhSt4NBwiPq2o.jpg\"}"
}
},
"schema": {
"type": "object",
"properties": {
"adult": {
"type": "boolean",
"example": false,
"default": true
},
"also_known_as": {
"type": "array",
"items": {
"type": "string",
"example": "Thomas Jeffrey Hanks"
}
},
"biography": {
"type": "string",
"example": "Thomas Jeffrey Hanks (born July 9, 1956) is an American actor and filmmaker. Known for both his comedic and dramatic roles, Hanks is one of the most popular and recognizable film stars worldwide, and is widely regarded as an American cultural icon.\n\nHanks made his breakthrough with leading roles in the comedies Splash (1984) and Big (1988). He won two consecutive Academy Awards for Best Actor for starring as a gay lawyer suffering from AIDS in Philadelphia (1993) and a young man with below-average IQ in Forrest Gump (1994). Hanks collaborated with film director Steven Spielberg on five films: Saving Private Ryan (1998), Catch Me If You Can (2002), The Terminal (2004), Bridge of Spies (2015), and The Post (2017), as well as the 2001 miniseries Band of Brothers, which launched him as a director, producer, and screenwriter.\n\nHanks' other notable films include the romantic comedies Sleepless in Seattle (1993) and You've Got Mail (1998); the dramas Apollo 13 (1995), The Green Mile (1999), Cast Away (2000), Road to Perdition (2002), and Cloud Atlas (2012); and the biographical dramas Saving Mr. Banks (2013), Captain Phillips (2013), Sully (2016), and A Beautiful Day in the Neighborhood (2019). He has also appeared as the title character in the Robert Langdon film series, and has voiced Sheriff Woody in the Toy Story film series.\n\nDescription above from the Wikipedia article Tom Hanks, licensed under CC-BY-SA, full list of contributors on Wikipedia."
},
"birthday": {
"type": "string",
"example": "1956-07-09"
},
"deathday": {},
"gender": {
"type": "integer",
"example": 2,
"default": 0
},
"homepage": {},
"id": {
"type": "integer",
"example": 31,
"default": 0
},
"imdb_id": {
"type": "string",
"example": "nm0000158"
},
"known_for_department": {
"type": "string",
"example": "Acting"
},
"name": {
"type": "string",
"example": "Tom Hanks"
},
"place_of_birth": {
"type": "string",
"example": "Concord, California, USA"
},
"popularity": {
"type": "number",
"example": 82.989,
"default": 0
},
"profile_path": {
"type": "string",
"example": "/xndWFsBlClOJFRdhSt4NBwiPq2o.jpg"
}
}
}
}
}
}
},
"deprecated": false
}
}
},
"x-readme": {
"headers": [],
"explorer-enabled": true,
"proxy-enabled": true,
"samples-enabled": true
},
"x-readme-fauxas": true
}