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

20 Oct, 2017 05:28 PM
16 Oct, 2017 10:35 PM
16 Oct, 2017 03:34 PM
15 Oct, 2017 07:29 PM
15 Oct, 2017 04:48 PM