AERPAW-Platform-Control / aerpaw-portal

AERPAW Portal v2
0 stars 1 forks source link

API endpoint /resources #4

Open mjstealey opened 2 years ago

mjstealey commented 2 years ago

/resources

TODO - separate AFRN from APRN in the models (see diagram attached below)

Endpoints

Functions

Fields

--- /resources
description:         - string
is_active:           - boolean
location:            - string
name:                - string
resource_class:      - string
resource_id:         - int
resource_mode:       - string
resource_type:       - string
--- /resources/{int:pk}
created_by:          - int
created_date:        - string
description:         - string
hostname:            - string
ip_address:          - string
is_active:           - boolean
is_deleted:          - boolean (only return when resource has been deleted)
location:            - string
name:                - string
ops_notes:           - string
resource_class:      - string
resource_id:         - int
resource_mode:       - string
resource_type:       - string
--- /resources/{int:pk}/experiments
description:         - string
experiment_creator:  - int
experiment_id:       - int
experiment_state:    - string
is_canonical:        - boolean
is_retired:          - boolean
name:                - string
--- /resources/{int:pk}/projects
description:         - string
is_public:           - boolean
name:                - string
project_creator:     - int
project_id:          - int
mjstealey commented 1 year ago

ARFN vs ARPN

Screen Shot 2022-09-23 at 1 39 13 PM