UNPKG

7digital-api

Version:
309 lines (308 loc) 6.71 kB
{ "host": "api.7digital.com", "sslHost": "api.7digital.com", "prefix": "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": "match/byId", "methodName": "matchById", "oauth": "2-legged" }, { "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": "match/byId", "methodName": "matchById", "oauth": "2-legged" }, { "apiCall": "bytag/top", "methodName": "getTopByTags"} ] }, "Tracks": { "resource": "track", "actions": [ { "apiCall": "chart", "methodName": "getChart" }, { "apiCall": "details", "methodName": "getDetails" }, { "apiCall": "search", "methodName": "search" }, { "apiCall": "match/byId", "methodName": "matchById", "oauth": "2-legged" } ] }, "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" }, { "apiCall": "paypalurl", "methodName": "getPayPalUrl" }, { "apiCall": "completepaypalpurchase", "methodName": "completePayPalPurchase", "oauth": "3-legged", "method": "POST" } ] }, "User": { "resource": "user", "actions": [ { "apiCall": "unlimitedStreaming", "methodName": "getUnlimitedStreaming", "oauth": "3-legged", "method": "GET" }, { "apiCall": "unlimitedStreaming", "methodName": "updateUnlimitedStreaming", "oauth": "2-legged", "method": "POST" }, { "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": "payment/card", "methodName": "listCards", "oauth": "3-legged", "method": "GET" }, { "apiCall": "payment/card/select", "methodName": "selectCard", "oauth": "3-legged", "method": "POST" }, { "apiCall": "payment/card/delete", "methodName": "deleteCard", "oauth": "3-legged", "method": "POST" }, { "apiCall": "payment/cardregistration", "methodName": "registerCard", "oauth": "3-legged", "method": "POST" }, { "apiCall": "payment/cardregistration/:id", "methodName": "getCardRegistration", "oauth": "3-legged", "method": "GET" }, { "apiCall": "deliveritem", "methodName": "deliverItem", "oauth": "3-legged", "method": "GET" }, { "apiCall": "signup", "methodName": "signup", "oauth": "2-legged", "method": "POST" }, { "apiCall": "create", "methodName": "create", "oauth": "2-legged", "method": "GET" }, { "apiCall": "details", "methodName": "getDetails", "oauth": "2-legged", "method": "GET" }, { "apiCall": "authenticate", "methodName": "authenticate", "oauth": "2-legged", "method": "POST" } ] }, "Users": { "resource" : "users", "actions": [ { "apiCall" : "", "methodName" : "find", "oauth": "2-legged", "method": "GET" }, { "apiCall": ":id/update", "methodName": "update", "oauth": "3-legged", "method": "PUT" } ] }, "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" }, { "apiCall": "voucher/details", "methodName": "getVoucherDetails", "oauth": "2-legged", "method": "GET" } ] } } }