Files
discogs-service/docs/data/documentation/discogsservice/operations/editlisting.json
T

1 line
6.7 KiB
JSON

{"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations"]]},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"EditListing"}]}],"kind":"declarations"},{"content":[{"level":2,"text":"Overview","anchor":"overview","type":"heading"},{"inlineContent":[{"text":"Edits the data associated with a listing in a marketplace.","type":"text"}],"type":"paragraph"},{"inlineContent":[{"type":"text","text":"In case a status of a listing is not "},{"type":"codeVoice","code":"For Sale"},{"type":"text","text":", "},{"type":"codeVoice","code":"Draft"},{"type":"text","text":", or "},{"type":"codeVoice","code":"Expired"},{"type":"text","text":", it cannot be modified - only deleted. To re-list a Sold listing, a new listing must be created."}],"type":"paragraph"},{"inlineContent":[{"type":"text","text":"This endpoint requires authentication as a listing owner."}],"type":"paragraph"},{"name":"Remark","content":[{"type":"paragraph","inlineContent":[{"text":"HTTP ","type":"text"},{"code":"POST \/marketplace\/listings\/{listing_id}","type":"codeVoice"},{"type":"text","text":"."}]}],"style":"note","type":"aside"},{"type":"aside","style":"note","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Generated from "},{"type":"codeVoice","code":"#\/paths\/\/marketplace\/listings\/{listing_id}\/post(editListing)"},{"type":"text","text":"."}]}],"name":"Remark"}],"kind":"content"}],"sections":[],"schemaVersion":{"patch":0,"minor":3,"major":0},"identifier":{"url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/EditListing","interfaceLanguage":"swift"},"kind":"symbol","abstract":[{"type":"text","text":"Update a listing in a marketplace."}],"variants":[{"paths":["\/documentation\/discogsservice\/operations\/editlisting"],"traits":[{"interfaceLanguage":"swift"}]}],"topicSections":[{"title":"Structures","generated":true,"anchor":"Structures","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/EditListing\/Input"]},{"title":"Type Properties","generated":true,"anchor":"Type-Properties","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/EditListing\/id"]},{"title":"Enumerations","generated":true,"anchor":"Enumerations","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/EditListing\/AcceptableContentType","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/EditListing\/Output"]}],"metadata":{"title":"Operations.EditListing","symbolKind":"enum","roleHeading":"Enumeration","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"EditListing","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"EditListing"}],"modules":[{"name":"DiscogsService"}],"role":"symbol","externalID":"s:14DiscogsService10OperationsO11EditListingO"},"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":" "},{"text":"Operations","kind":"identifier"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations","kind":"symbol","type":"topic","title":"Operations"},"doc://DiscogsService/documentation/DiscogsService/Operations/EditListing":{"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"EditListing","kind":"identifier"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/EditListing","type":"topic","role":"symbol","title":"Operations.EditListing","abstract":[{"text":"Update a listing in a marketplace.","type":"text"}],"kind":"symbol","navigatorTitle":[{"text":"EditListing","kind":"identifier"}],"url":"\/documentation\/discogsservice\/operations\/editlisting"},"doc://DiscogsService/documentation/DiscogsService":{"role":"collection","type":"topic","title":"DiscogsService","kind":"symbol","url":"\/documentation\/discogsservice","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService","abstract":[{"type":"text","text":"A Swift client library for the Discogs API, built on top of Swift OpenAPI."}]},"doc://DiscogsService/documentation/DiscogsService/Operations/EditListing/Output":{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/EditListing\/Output","title":"Operations.EditListing.Output","url":"\/documentation\/discogsservice\/operations\/editlisting\/output","type":"topic","abstract":[],"kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Output","kind":"identifier"}],"navigatorTitle":[{"text":"Output","kind":"identifier"}]},"doc://DiscogsService/documentation/DiscogsService/Operations/EditListing/AcceptableContentType":{"navigatorTitle":[{"kind":"identifier","text":"AcceptableContentType"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"AcceptableContentType"}],"title":"Operations.EditListing.AcceptableContentType","url":"\/documentation\/discogsservice\/operations\/editlisting\/acceptablecontenttype","abstract":[],"type":"topic","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/EditListing\/AcceptableContentType","role":"symbol"},"doc://DiscogsService/documentation/DiscogsService/Operations/EditListing/id":{"url":"\/documentation\/discogsservice\/operations\/editlisting\/id","abstract":[],"title":"id","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"id"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"type":"topic","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/EditListing\/id","role":"symbol"},"doc://DiscogsService/documentation/DiscogsService/Operations/EditListing/Input":{"role":"symbol","url":"\/documentation\/discogsservice\/operations\/editlisting\/input","kind":"symbol","title":"Operations.EditListing.Input","abstract":[],"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Input"}],"type":"topic","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/EditListing\/Input","navigatorTitle":[{"kind":"identifier","text":"Input"}]}}}