Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Add an organization type identifier to API response #239

Open
froi opened this issue Jul 19, 2018 · 0 comments
Open

Add an organization type identifier to API response #239

froi opened this issue Jul 19, 2018 · 0 comments

Comments

@froi
Copy link
Contributor

froi commented Jul 19, 2018

Is your feature request related to a problem? Please describe.
Add a new field to the API response identifying what type of organization the repo comes from.

Describe the solution you'd like
The ideal solution would be to include an orgType field that would identify where the data comes from.

Eg.

{
      "name": "APIV2",
      "organization": "OPA",
      "repositoryURL": "https://github.com/USDepartmentofLabor/APIv2",
      "description": "The back-end and admin UI code for the next evolution of DOL's open data API.",
      "permissions": {
        "licenses": [
          {
            "URL": "https://creativecommons.org/publicdomain/zero/1.0/",
            "name": "CC0"
          }
        ],
        "usageType": "openSource"
      },
      "tags": [
        "APIv2"
      ],
      "orgType": "federal",
      "agency": {
        "name": "Department of Labor",
        "acronym": "DOL",
        "website": "https://www.dol.gov",
        "codeUrl": "https://www.dol.gov/code.json",
        "fallback_file": "DOL.json",
        "requirements": {
          "agencyWidePolicy": 1,
          "openSourceRequirement": 0,
          "inventoryRequirement": 0,
          "schemaFormat": 0.5,
          "overallCompliance": 0.3333333333333333
        },
        "complianceDashboard": true
      },
      "repoID": "dol_opa_apiv2",
      "score": 11.700000000000001
    }
@froi froi self-assigned this Jul 19, 2018
@froi froi removed their assignment Nov 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant