We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get
Org Units are required to create a dataset, but users might not know the correct name of one off hand when they are creating a dataset.
Add org-units argument to gwa get with the required flag of --org as a filter.
org-units
gwa get
--org
Example:
$ gwa get org-units --org ministry-of-citizens-services
The text was updated successfully, but these errors were encountered:
@ikethecoder I think we just need to implement an endpoint for this URL if it hasn't been deployed yet.
Sorry, something went wrong.
Example API call:
curl -X 'GET' \ 'https://api-gov-bc-ca.dev.api.gov.bc.ca/ds/api/v2/organizations/ministry-of-citizens-services' \ -H 'accept: application/json'
Returns orgUnits which is an array of objects containing a name and title. These can be displayed.
orgUnits
name
title
For json and yaml output, you can show the full response as in the future there may be more information added.
Jonesy
Successfully merging a pull request may close this issue.
Org Units are required to create a dataset, but users might not know the correct name of one off hand when they are creating a dataset.
Acceptance Criteria
Add
org-units
argument togwa get
with the required flag of--org
as a filter.Example:
The text was updated successfully, but these errors were encountered: