Files

1 line
7.3 KiB
JSON
Raw Permalink Normal View History

2026-03-24 01:54:43 +00:00
{"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"GetStatistics","kind":"identifier"}]}],"kind":"declarations"},{"kind":"content","content":[{"type":"heading","text":"Overview","level":2,"anchor":"overview"},{"type":"paragraph","inlineContent":[{"text":"Retrieves some statistics for a release in a marketplace.","type":"text"}]},{"inlineContent":[{"type":"text","text":"These statistics reflect the current state of a release in a marketplace, and include the number of items currently for sale, lowest listed price of any item for sale, and whether the item is blocked for sale in a marketplace."}],"type":"paragraph"},{"inlineContent":[{"text":"This endpoint mandates that authentication is optional. In case of authentication, the lowest currency expressed in their own buyer currency, configurable in buyer settings by default, in the absence of the ","type":"text"},{"code":"curr_abbr","type":"codeVoice"},{"type":"text","text":" parameter in the query. Otherwise, the price expressed in US dollars, if no currency is provided."}],"type":"paragraph"},{"inlineContent":[{"text":"Releases that have no items for sale in a marketplace returns no data in the ","type":"text"},{"code":"lowest_price","type":"codeVoice"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"num_for_sale"},{"text":" keys. Releases that are blocked for sale will also have no data for these keys.","type":"text"}],"type":"paragraph"},{"content":[{"inlineContent":[{"text":"HTTP ","type":"text"},{"code":"GET \/marketplace\/stats\/{release_id}","type":"codeVoice"},{"text":".","type":"text"}],"type":"paragraph"}],"style":"note","name":"Remark","type":"aside"},{"style":"note","content":[{"type":"paragraph","inlineContent":[{"text":"Generated from ","type":"text"},{"code":"#\/paths\/\/marketplace\/stats\/{release_id}\/get(getStatistics)","type":"codeVoice"},{"text":".","type":"text"}]}],"type":"aside","name":"Remark"}]}],"metadata":{"roleHeading":"Enumeration","externalID":"s:14DiscogsService10OperationsO13GetStatisticsO","modules":[{"name":"DiscogsService"}],"navigatorTitle":[{"text":"GetStatistics","kind":"identifier"}],"role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"GetStatistics","kind":"identifier"}],"title":"Operations.GetStatistics","symbolKind":"enum"},"schemaVersion":{"minor":3,"patch":0,"major":0},"topicSections":[{"identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetStatistics\/Input"],"generated":true,"anchor":"Structures","title":"Structures"},{"identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetStatistics\/id"],"generated":true,"anchor":"Type-Properties","title":"Type Properties"},{"identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetStatistics\/AcceptableContentType","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetStatistics\/Output"],"generated":true,"anchor":"Enumerations","title":"Enumerations"}],"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/discogsservice\/operations\/getstatistics"]}],"identifier":{"url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetStatistics","interfaceLanguage":"swift"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations"]]},"abstract":[{"text":"Get some statistics of a release.","type":"text"}],"references":{"doc://DiscogsService/documentation/DiscogsService/Operations":{"url":"\/documentation\/discogsservice\/operations","abstract":[{"text":"API operations, with input and output types, generated from ","type":"text"},{"code":"#\/paths","type":"codeVoice"},{"type":"text","text":" in the OpenAPI document."}],"navigatorTitle":[{"text":"Operations","kind":"identifier"}],"role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},