FastAPI (0.1.0)

Download OpenAPI specification:Download

Spacecraft

Get Items

query Parameters
page_number
any (Page Number)
Default: 0
page_size
any (Page Size)
Default: 100

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "item_count": 0,
  • "page_count": 0,
  • "prev_page": { },
  • "next_page": { }
}

Create Spacecraft

Request Body schema: application/json
id
required
any (Id)
name
required
any (Name)
Description (any) or Description (any) (Description)
Affiliation (any) or Affiliation (any) (Affiliation)
Dimensions (any) or Dimensions (any) (Dimensions)
appearances
required
any (Appearances)

Responses

Request samples

Content type
application/json
{
  • "id": null,
  • "name": null,
  • "description": { },
  • "affiliation": { },
  • "dimensions": { },
  • "appearances": null
}

Response samples

Content type
application/json
{
  • "id": null,
  • "name": null,
  • "description": { },
  • "affiliation": { },
  • "dimensions": { },
  • "appearances": null
}

Get Spacecraft

path Parameters
id
required
any (Id)

Responses

Response samples

Content type
application/json
{
  • "id": null,
  • "name": null,
  • "description": { },
  • "affiliation": { },
  • "dimensions": { },
  • "appearances": null
}

Update Spacecraft

path Parameters
id
required
any (Id)
Request Body schema: application/json
id
required
any (Id)
name
required
any (Name)
Description (any) or Description (any) (Description)
Affiliation (any) or Affiliation (any) (Affiliation)
Dimensions (any) or Dimensions (any) (Dimensions)
appearances
required
any (Appearances)

Responses

Request samples

Content type
application/json
{
  • "id": null,
  • "name": null,
  • "description": { },
  • "affiliation": { },
  • "dimensions": { },
  • "appearances": null
}

Response samples

Content type
application/json
{
  • "id": null,
  • "name": null,
  • "description": { },
  • "affiliation": { },
  • "dimensions": { },
  • "appearances": null
}

Delete Spacecraft

path Parameters
id
required
any (Id)

Responses

Response samples

Content type
application/json
{
  • "detail": [
    ]
}

Users

Get Items

query Parameters
page_number
any (Page Number)
Default: 0
page_size
any (Page Size)
Default: 100

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "item_count": 0,
  • "page_count": 0,
  • "prev_page": { },
  • "next_page": { }
}

Create Item

Request Body schema: application/json
Id (any) or Id (any) (Id)
user_id
required
any (User Id)
first_name
required
any (First Name)
last_name
required
any (Last Name)
display_name
required
any (Display Name)
email
required
any (Email)
is_active
any (Is Active)
Default: true
Created (any) or Created (any) (Created)
created_by
required
any (Created By)
Modified (any) or Modified (any) (Modified)
modified_by
required
any (Modified By)

Responses

Request samples

Content type
application/json
{
  • "id": { },
  • "user_id": null,
  • "first_name": null,
  • "last_name": null,
  • "display_name": null,
  • "email": null,
  • "is_active": true,
  • "created": { },
  • "created_by": null,
  • "modified": { },
  • "modified_by": null
}

Response samples

Content type
application/json
{
  • "id": { },
  • "user_id": null,
  • "first_name": null,
  • "last_name": null,
  • "display_name": null,
  • "email": null,
  • "is_active": true,
  • "created": { },
  • "created_by": null,
  • "modified": { },
  • "modified_by": null
}

Get Item

path Parameters
id
required
any (Id)

Responses

Response samples

Content type
application/json
{
  • "id": { },
  • "user_id": null,
  • "first_name": null,
  • "last_name": null,
  • "display_name": null,
  • "email": null,
  • "is_active": true,
  • "created": { },
  • "created_by": null,
  • "modified": { },
  • "modified_by": null
}

Update Item

path Parameters
id
required
any (Id)
Request Body schema: application/json
Id (any) or Id (any) (Id)
user_id
required
any (User Id)
first_name
required
any (First Name)
last_name
required
any (Last Name)
display_name
required
any (Display Name)
email
required
any (Email)
is_active
any (Is Active)
Default: true
Created (any) or Created (any) (Created)
created_by
required
any (Created By)
Modified (any) or Modified (any) (Modified)
modified_by
required
any (Modified By)

Responses

Request samples

Content type
application/json
{
  • "id": { },
  • "user_id": null,
  • "first_name": null,
  • "last_name": null,
  • "display_name": null,
  • "email": null,
  • "is_active": true,
  • "created": { },
  • "created_by": null,
  • "modified": { },
  • "modified_by": null
}

Response samples

Content type
application/json
{
  • "id": { },
  • "user_id": null,
  • "first_name": null,
  • "last_name": null,
  • "display_name": null,
  • "email": null,
  • "is_active": true,
  • "created": { },
  • "created_by": null,
  • "modified": { },
  • "modified_by": null
}

Delete Item

path Parameters
id
required
any (Id)

Responses

Response samples

Content type
application/json
{
  • "detail": [
    ]
}

Admin

Get Current User

Authorizations:
HTTPBearer

Responses

Response samples

Content type
application/json
null

Health

Get Health

Responses

Response samples

Content type
application/json
null