{"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations"]]},"sections":[],"metadata":{"navigatorTitle":[{"text":"GetListing","kind":"identifier"}],"role":"symbol","externalID":"s:14DiscogsService10OperationsO10GetListingO","symbolKind":"enum","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"GetListing","kind":"identifier"}],"roleHeading":"Enumeration","title":"Operations.GetListing","modules":[{"name":"DiscogsService"}]},"abstract":[{"type":"text","text":"Get information about a listing in the marketplace."}],"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"GetListing","kind":"identifier"}]}]},{"kind":"content","content":[{"level":2,"type":"heading","anchor":"overview","text":"Overview"},{"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":[{"type":"text","text":"NearMint"}]},{"type":"text","text":" users, who will see "},{"type":"emphasis","inlineContent":[{"type":"text","text":"1"}]},{"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."}],"type":"paragraph"},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"HTTP "},{"code":"GET \/marketplace\/listings\/{listing_id}","type":"codeVoice"},{"type":"text","text":"."}]}],"type":"aside","style":"note","name":"Remark"},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Generated from "},{"code":"#\/paths\/\/marketplace\/listings\/{listing_id}\/get(getListing)","type":"codeVoice"},{"type":"text","text":"."}]}],"type":"aside","style":"note","name":"Remark"}]}],"kind":"symbol","identifier":{"url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetListing","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/discogsservice\/operations\/getlisting"]}],"topicSections":[{"identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetListing\/Input"],"anchor":"Structures","title":"Structures","generated":true},{"identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetListing\/id"],"anchor":"Type-Properties","title":"Type Properties","generated":true},{"identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetListing\/AcceptableContentType","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetListing\/Output"],"anchor":"Enumerations","title":"Enumerations","generated":true}],"references":{"doc://DiscogsService/documentation/DiscogsService/Operations/GetListing/Input":{"kind":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Input","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetListing\/Input","title":"Operations.GetListing.Input","url":"\/documentation\/discogsservice\/operations\/getlisting\/input","role":"symbol","navigatorTitle":[{"text":"Input","kind":"identifier"}],"type":"topic"},"doc://DiscogsService/documentation/DiscogsService/Operations":{"type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"Operations","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Operations"}],"title":"Operations","url":"\/documentation\/discogsservice\/operations","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations","abstract":[{"type":"text","text":"API operations, with input and output types, generated from "},{"type":"codeVoice","code":"#\/paths"},{"text":" in the OpenAPI document.","type":"text"}],"kind":"symbol"},"doc://DiscogsService/documentation/DiscogsService/Operations/GetListing/Output":{"url":"\/documentation\/discogsservice\/operations\/getlisting\/output","title":"Operations.GetListing.Output","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Output"}],"navigatorTitle":[{"text":"Output","kind":"identifier"}],"kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetListing\/Output","abstract":[],"type":"topic"},"doc://DiscogsService/documentation/DiscogsService/Operations/GetListing":{"url":"\/documentation\/discogsservice\/operations\/getlisting","title":"Operations.GetListing","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"GetListing"}],"navigatorTitle":[{"kind":"identifier","text":"GetListing"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetListing","kind":"symbol","abstract":[{"type":"text","text":"Get information about a listing in the marketplace."}],"type":"topic"},"doc://DiscogsService/documentation/DiscogsService/Operations/GetListing/AcceptableContentType":{"type":"topic","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"AcceptableContentType"}],"navigatorTitle":[{"text":"AcceptableContentType","kind":"identifier"}],"title":"Operations.GetListing.AcceptableContentType","url":"\/documentation\/discogsservice\/operations\/getlisting\/acceptablecontenttype","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetListing\/AcceptableContentType","abstract":[],"kind":"symbol"},"doc://DiscogsService/documentation/DiscogsService":{"title":"DiscogsService","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService","url":"\/documentation\/discogsservice","abstract":[],"role":"collection","kind":"symbol","type":"topic"},"doc://DiscogsService/documentation/DiscogsService/Operations/GetListing/id":{"abstract":[],"kind":"symbol","title":"id","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetListing\/id","type":"topic","url":"\/documentation\/discogsservice\/operations\/getlisting\/id","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"id","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"}],"role":"symbol"}}}