Site Metadata
GET {{nrel_developer_url}}/pvdaq/v3/sites.json?system_id=2
Sites Metadata (GET /api/pvdaq/v3/sites) Fetch metadata for PVDAQ sites.
Response Fields The response is composed of service-related informational fields and the results of the data query.
| Field | Value | Description |
|---|---|---|
| outputs | Type: array | An array of records describing each site. |
| errors | Type: array | If errors were encountered, a list describing each error. Errors will be returned with an HTTP status code of 422 (Unprocessable Entity). |
| warnings | Type: array | List of warnings, including information about API deprecations. |
| infos | Type: array | List of additional, non-error information. |
| inputs | Type: record | List of request parameters given. |
| version | Type: string | The current version of the web service. |
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
system_id | number | ||
user_id | null | Type: string | |
| Default: None | |||
| For PVDAQ admin user accounts only. Return only systems belonging to the given username. |