UNPKG

7digital-api

Version:
197 lines (196 loc) 4.25 kB
{ "host": "api.7digital.com", "port": "80", "version": "1.2", "resources": { "Releases": { "resource": "release", "actions": [ { "apiCall": "byDate", "methodName": "getByDate" }, { "apiCall": "details", "methodName": "getDetails" }, { "apiCall": "editorial", "methodName": "getEditorial" }, { "apiCall": "chart", "methodName": "getChart" }, { "apiCall": "recommend", "methodName": "getRecommendations" }, { "apiCall": "search", "methodName": "search" }, { "apiCall": "tracks", "methodName": "getTracks" }, { "apiCall": "tags", "methodName": "getTags" }, { "apiCall": "bytag/new", "methodName": "getNewByTags" }, { "apiCall": "bytag/top", "methodName": "getTopByTags" } ] }, "Artists": { "resource": "artist", "actions": [ { "apiCall": "browse", "methodName": "browse" }, { "apiCall": "chart", "methodName": "getChart" }, { "apiCall": "details", "methodName": "getDetails" }, { "apiCall": "releases", "methodName": "getReleases" }, { "apiCall": "similar", "methodName": "getSimilar" }, { "apiCall": "search", "methodName": "search" }, { "apiCall": "topTracks", "methodName": "getTopTracks" }, { "apiCall": "tags", "methodName": "getTags" }, { "apiCall": "bytag/top", "methodName": "getTopByTags"} ] }, "Tracks": { "resource": "track", "actions": [ { "apiCall": "chart", "methodName": "getChart" }, { "apiCall": "details", "methodName": "getDetails" }, { "apiCall": "preview", "methodName": "getPreview" }, { "apiCall": "search", "methodName": "search" } ] }, "Tags": { "resource": "tag", "actions": [ { "apiCall": "", "methodName": "all" } ] }, "Basket": { "resource": "basket", "actions": [ { "apiCall": "", "methodName": "get" }, { "apiCall": "addItem", "methodName": "addItem" }, { "apiCall": "removeItem", "methodName": "removeItem" }, { "apiCall": "create", "methodName": "create" }, { "apiCall": "applyVoucher", "methodName": "applyVoucher", "oauth": "2-legged", "method": "POST" }, { "apiCall": "addpriceditem", "methodName": "addPricedItem", "oauth": "2-legged", "method": "GET" } ] }, "User": { "resource": "user", "actions": [ { "apiCall": "locker", "methodName": "getLocker", "oauth": "3-legged", "method": "GET" }, { "apiCall": "purchase/item", "methodName": "purchaseItem", "oauth": "3-legged", "method": "GET" }, { "apiCall": "purchase/rrpitem", "methodName": "purchaseRrpItem", "oauth": "3-legged", "method": "GET" }, { "apiCall": "purchase/basket", "methodName": "purchaseBasket", "oauth": "3-legged", "method": "GET" }, { "apiCall": "purchase/priceditem", "methodName": "purchasePricedItem", "oauth": "3-legged", "method": "GET" }, { "apiCall": "deliveritem", "methodName": "deliverItem", "oauth": "3-legged", "method": "GET" } ] }, "Territories": { "resource" : "countries", "actions": [ { "apiCall" : "", "methodName" : "getCountries" } ] }, "Translations": { "resource" : "translations", "actions": [ { "apiCall" : "", "methodName" : "get" } ] }, "IpLookup": { "resource" : "country", "actions": [ { "apiCall" : "resolve", "methodName" : "getCountryForIp" } ] }, "Editorial": { "resource" : "editorial", "actions": [ { "apiCall" : "list", "methodName" : "getList" } ] }, "Catalogue": { "resource": "catalogue", "actions": [ { "apiCall": "artist-byurl", "methodName": "getArtistIdByUrl" }, { "apiCall": "release-byurl", "methodName": "getReleaseIdByUrl" } ] }, "Payment": { "resource": "payment", "actions": [ { "apiCall": "card/type", "methodName": "getCardTypes" } ] } } }