Show Collector

Returns json data about a single collector.

  • URL

/api/developer/v1/source_types/:id

  • Method:

GET

  • URL Params

Required:

  id=[string]

  • Data Params

None

  • Success Response:

    • Code: 200
    • Content:
    {
      "response": "success",
        "data": {
        "id": "efad11f1-a18f-4c1c-9f85-382a1382e4a6",
        "name": "rss",
        "display_name": "RSS",
        "identifying_keys": [
            "url"
        ],
        "required_keys": [
            "url"
        ],
        "is_singleton": false,
        "is_public": true,
        "default_available": true,
        "available_to_orgs": [
            1
        ],
        "image_url": "http://abc.cloudfront.net/assets/rss.png",
        "banner_url": "http://abc.cloudfront.net/assets/rss_banner.png"
      }
    }
  • Error Response:

    • Code: 404 NOT FOUND
    • Content: { "error": "Couldn't find SourceType with 'id'=efad11f1-a18f-4c1c-9f85-382a1382e4a3" }

OR

  • Code: 401 UNAUTHORIZED
  • Content: { "error": "You are unauthorized to make this request." }
© 2019 EdCast Inc.