API - Links

The Links resource contains a single listLinks method that returns a list of methods, media types and URL's.

Note: The Links resource is the API Endpoint.

Method Name: listLinks

Retrieve list of available of resources.

  • Method: GET

  • Parameters: None

  • Request Headers: Accept, Authorization, Host

  • Request Message Body: None

  • Response Headers: Content-Length, Content-Type, Content-Location

  • Response Message Body: Links to available related resources

  • Response Status: 200, 400, 401, 403, 404

  • Media Types:

    • application/vnd.koleimports.ds.link+xml
    • application/vnd.koleimports.ds.link+json

Request Parameters:

Host: example.com 
Authorization: Basic {id}:{api_key}
Accept: application/vnd.koleimports.ds.link+xml

Example CURL Request:

curl -H "Accept: application/vnd.koleimports.ds.link+xml" "https://{id}:{api_key}@api.koleimports.com"

Example Response:

<?xml version="1.0" encoding="utf-8"?>

Response Body Field Definitions

Field Name Description Type Length
Field Name Description Type Length


  • link
n/a n/a


  • method
  • media_type
  • url
n/a n/a

The name of the API method.

String 100

The media type for the method. Use this in the Accept Header.

String 250

The URL used to access the resource.

String 250

Recent Discussions

19 Aug, 2017 08:19 PM
18 Aug, 2017 03:35 PM
18 Aug, 2017 03:22 AM
16 Aug, 2017 11:58 AM
16 Aug, 2017 01:31 AM