OpenSourceSettings

This document uses the REST API. For more details, see the Authentication for API page.

Get the Open Source Settings for an Org. (Early Access)

get

Returns settings for your Org which may also be controlled at the Group level.

Required permissions

  • View Organization (org.read)
Authorizations
Path parameters
org_idstring · uuidRequired

The id of the org.

Query parameters
versionstringRequired

Requested API version

Example: 2021-06-04Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Responses
200

The Open Source Settings for given Org.

application/vnd.api+json
get
GET /rest/orgs/{org_id}/settings/opensource HTTP/1.1
Host: api.snyk.io
Authorization: YOUR_API_KEY
Accept: */*
{
  "data": {
    "attributes": {
      "reachability": {
        "enabled": true
      }
    },
    "id": "ea536a06-0566-40ca-b96b-155568aa2027",
    "type": "opensource_settings"
  },
  "jsonapi": {
    "version": "1.0"
  },
  "links": {
    "first": "https://example.com/api/resource",
    "last": "https://example.com/api/resource",
    "next": "https://example.com/api/resource",
    "prev": "https://example.com/api/resource",
    "related": "https://example.com/api/resource",
    "self": "https://example.com/api/resource"
  }
}

Last updated

Was this helpful?