openapi: 3.0.3 info: title: TheSpaceDevs LL2 Astronaut API version: v2.3.0 description: Rocket launches, space events and crewed spaceflight. The Launch Library 2 API is the official successor of the popular Launch Library API. It keeps its core features whilst also including everything the broader Space Launch Now API had to offer. The result is a large database delivering a more complete experience for each rocket launch and ... license: name: Apache License 2.0 servers: - url: https://ll.thespacedevs.com/ description: Production API (� rate-limited) - url: https://lldev.thespacedevs.com/ description: Development API (stale and limited data, for development testing only) tags: - name: Astronaut paths: /2.3.0/config/astronaut_roles/: get: operationId: config_astronaut_roles_list summary: List Astronaut Roles description: '#### Number of results Use `limit` to control the number of objects in the response (max 100) Example - [/config/astronaut_roles/?limit=2](./?limit=2) #### Format Switch to JSON output - [/config/astronaut_roles/?format=json](./?format=json) #### Help Find all the FAQs and support links on the documentation homepage - [ll.thespacedevs.com/docs](https://ll.thespacedevs.com/docs/)' parameters: - name: limit required: false in: query description: Number of results to return per page. schema: type: integer - name: offset required: false in: query description: The initial index from which to return the results. schema: type: integer - name: ordering required: false in: query description: Which field to use when ordering the results. schema: type: string - name: search required: false in: query description: A search term. schema: type: string tags: - Astronaut security: - cookieAuth: [] - Token_Authentication: [] responses: '200': content: application/json: schema: $ref: '#/components/schemas/PaginatedAstronautRoleList' description: '' /2.3.0/config/astronaut_roles/{id}/: get: operationId: config_astronaut_roles_retrieve summary: Get Astronaut Role description: '#### Number of results Use `limit` to control the number of objects in the response (max 100) Example - [/config/astronaut_roles/?limit=2](./?limit=2) #### Format Switch to JSON output - [/config/astronaut_roles/?format=json](./?format=json) #### Help Find all the FAQs and support links on the documentation homepage - [ll.thespacedevs.com/docs](https://ll.thespacedevs.com/docs/)' parameters: - in: path name: id schema: type: integer description: A unique integer value identifying this Astronaut Role. required: true tags: - Astronaut security: - cookieAuth: [] - Token_Authentication: [] responses: '200': content: application/json: schema: $ref: '#/components/schemas/AstronautRole' description: '' /2.3.0/config/astronaut_statuses/: get: operationId: config_astronaut_statuses_list summary: List Astronaut Statuses description: '#### Number of results Use `limit` to control the number of objects in the response (max 100) Example - [/config/astronaut_statuses/?limit=2](./?limit=2) #### Format Switch to JSON output - [/config/astronaut_statuses/?format=json](./?format=json) #### Help Find all the FAQs and support links on the documentation homepage - [ll.thespacedevs.com/docs](https://ll.thespacedevs.com/docs/)' parameters: - name: limit required: false in: query description: Number of results to return per page. schema: type: integer - name: offset required: false in: query description: The initial index from which to return the results. schema: type: integer - name: ordering required: false in: query description: Which field to use when ordering the results. schema: type: string - name: search required: false in: query description: A search term. schema: type: string tags: - Astronaut security: - cookieAuth: [] - Token_Authentication: [] responses: '200': content: application/json: schema: $ref: '#/components/schemas/PaginatedAstronautStatusList' description: '' /2.3.0/config/astronaut_statuses/{id}/: get: operationId: config_astronaut_statuses_retrieve summary: Get Astronaut Status description: '#### Number of results Use `limit` to control the number of objects in the response (max 100) Example - [/config/astronaut_statuses/?limit=2](./?limit=2) #### Format Switch to JSON output - [/config/astronaut_statuses/?format=json](./?format=json) #### Help Find all the FAQs and support links on the documentation homepage - [ll.thespacedevs.com/docs](https://ll.thespacedevs.com/docs/)' parameters: - in: path name: id schema: type: integer description: A unique integer value identifying this Astronaut Status. required: true tags: - Astronaut security: - cookieAuth: [] - Token_Authentication: [] responses: '200': content: application/json: schema: $ref: '#/components/schemas/AstronautStatus' description: '' /2.3.0/config/astronaut_types/: get: operationId: config_astronaut_types_list summary: List Astronaut Types description: '#### Number of results Use `limit` to control the number of objects in the response (max 100) Example - [/config/astronaut_types/?limit=2](./?limit=2) #### Format Switch to JSON output - [/config/astronaut_types/?format=json](./?format=json) #### Help Find all the FAQs and support links on the documentation homepage - [ll.thespacedevs.com/docs](https://ll.thespacedevs.com/docs/)' parameters: - name: limit required: false in: query description: Number of results to return per page. schema: type: integer - name: offset required: false in: query description: The initial index from which to return the results. schema: type: integer - name: ordering required: false in: query description: Which field to use when ordering the results. schema: type: string - name: search required: false in: query description: A search term. schema: type: string tags: - Astronaut security: - cookieAuth: [] - Token_Authentication: [] responses: '200': content: application/json: schema: $ref: '#/components/schemas/PaginatedAstronautTypeList' description: '' /2.3.0/config/astronaut_types/{id}/: get: operationId: config_astronaut_types_retrieve summary: Get Astronaut Type description: '#### Number of results Use `limit` to control the number of objects in the response (max 100) Example - [/config/astronaut_types/?limit=2](./?limit=2) #### Format Switch to JSON output - [/config/astronaut_types/?format=json](./?format=json) #### Help Find all the FAQs and support links on the documentation homepage - [ll.thespacedevs.com/docs](https://ll.thespacedevs.com/docs/)' parameters: - in: path name: id schema: type: integer description: A unique integer value identifying this Astronaut Type. required: true tags: - Astronaut security: - cookieAuth: [] - Token_Authentication: [] responses: '200': content: application/json: schema: $ref: '#/components/schemas/AstronautType' description: '' components: schemas: PaginatedAstronautTypeList: type: object required: - count - results properties: count: type: integer example: 123 next: type: string nullable: true format: uri example: http://api.example.org/accounts/?offset=400&limit=100 previous: type: string nullable: true format: uri example: http://api.example.org/accounts/?offset=200&limit=100 results: type: array items: $ref: '#/components/schemas/AstronautType' AstronautType: type: object properties: id: type: integer readOnly: true name: type: string maxLength: 255 required: - id - name PaginatedAstronautRoleList: type: object required: - count - results properties: count: type: integer example: 123 next: type: string nullable: true format: uri example: http://api.example.org/accounts/?offset=400&limit=100 previous: type: string nullable: true format: uri example: http://api.example.org/accounts/?offset=200&limit=100 results: type: array items: $ref: '#/components/schemas/AstronautRole' AstronautStatus: type: object properties: id: type: integer readOnly: true name: type: string maxLength: 255 required: - id - name PaginatedAstronautStatusList: type: object required: - count - results properties: count: type: integer example: 123 next: type: string nullable: true format: uri example: http://api.example.org/accounts/?offset=400&limit=100 previous: type: string nullable: true format: uri example: http://api.example.org/accounts/?offset=200&limit=100 results: type: array items: $ref: '#/components/schemas/AstronautStatus' AstronautRole: type: object properties: id: type: integer readOnly: true role: type: string maxLength: 255 priority: type: integer maximum: 2147483647 minimum: -2147483648 required: - id - role securitySchemes: Token_Authentication: type: apiKey in: header name: Authorization description: "Token authentication uses a header of Authorization and the value with a required prefix \"Token\" followed by a space and then the apiKey. \n\n Example: `Authorization: Token 9944b09199c62bcf9418ad846dd0e4bbdfc6ee4b`" cookieAuth: type: apiKey in: cookie name: sessionid