1 line
29 KiB
JSON
1 line
29 KiB
JSON
|
|
{"kind":"symbol","abstract":[{"type":"text","text":"Get information about a listing in the marketplace."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"getListing"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"input"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations","preciseIdentifier":"s:14DiscogsService10OperationsO","text":"Operations"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetListing","preciseIdentifier":"s:14DiscogsService10OperationsO10GetListingO","text":"GetListing"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetListing\/Input","preciseIdentifier":"s:14DiscogsService10OperationsO10GetListingO5InputV","text":"Input"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations","preciseIdentifier":"s:14DiscogsService10OperationsO","text":"Operations"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetListing","preciseIdentifier":"s:14DiscogsService10OperationsO10GetListingO","text":"GetListing"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetListing\/Output","preciseIdentifier":"s:14DiscogsService10OperationsO10GetListingO6OutputO","text":"Output"}],"platforms":["macOS"]}]},{"kind":"content","content":[{"type":"heading","text":"Discussion","level":2,"anchor":"discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Views the data associated with a listing in the marketplace."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"In case of authenticated as an inventory owner, items that not only have the "},{"type":"codeVoice","code":"For Sale"},{"type":"text","text":" state will be shown as well as other extra fields in those items such as "},{"type":"codeVoice","code":"weight"},{"type":"text","text":", "},{"type":"codeVoice","code":"format_quality"},{"type":"text","text":", "},{"type":"codeVoice","code":"external_id"},{"type":"text","text":", "},{"type":"codeVoice","code":"location"},{"type":"text","text":", and "},{"type":"codeVoice","code":"quantity_keys"},{"type":"text","text":". Note that the "},{"type":"codeVoice","code":"quantity"},{"type":"text","text":" field is read-only for "},{"type":"emphasis","inlineContent":[{"text":"NearMint","type":"text"}]},{"type":"text","text":" users, who will see "},{"type":"emphasis","inlineContent":[{"text":"1","type":"text"}]},{"type":"text","text":" for all quantity values, regardless of their actual count."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"In case the user is authorized, the listing will contain a "},{"type":"codeVoice","code":"in_cart"},{"type":"text","text":" boolean field indicating whether or not this listing is in their cart."}]},{"name":"Remark","type":"aside","style":"note","content":[{"type":"paragraph","inlineContent":[{"text":"HTTP ","type":"text"},{"code":"GET \/marketplace\/listings\/{listing_id}","type":"codeVoice"},{"text":".","type":"text"}]}]},{"name":"Remark","type":"aside","style":"note","content":[{"type":"paragraph","inlineContent":[{"text":"Generated from ","type":"text"},{"code":"#\/paths\/\/marketplace\/listings\/{listing_id}\/get(getListing)","type":"codeVoice"},{"text":".","type":"text"}]}]}]}],"metadata":{"symbolKind":"method","title":"getListing(_:)","externalID":"s:14DiscogsService6ClientV10getListingyAA10OperationsO03GetE0O6OutputOAH5InputV
|