Files
javier f3d5c0e6ac Implemented the User Wantlist endpoints (#13)
This PR contains the work done to implement the *User Wantlist* endpoints of the *Discogs API* online service in the `Open API` specification document:

* GET `/users/{username}/wants`
* POST `/users/{username}/wants/{release_id}`
* PUT `/users/{username}/wants/{release_id}`
* DELETE `/users/{username}/wants/{release_id}`

Reviewed-on: #13
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2025-10-16 16:24:46 +00:00

1 line
8.9 KiB
JSON

{"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/DeleteCollectionFolder","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/DeleteCollectionFolder\/Output","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/DeleteCollectionFolder\/Output\/NoContent-swift.struct"]]},"identifier":{"url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/DeleteCollectionFolder\/Output\/NoContent-swift.struct\/init(headers:)","interfaceLanguage":"swift"},"abstract":[{"text":"Creates a new ","type":"text"},{"type":"codeVoice","code":"NoContent"},{"text":".","type":"text"}],"metadata":{"externalID":"s:14DiscogsService10OperationsO22DeleteCollectionFolderO6OutputO9NoContentV7headersA2I7HeadersV_tcfc","title":"init(headers:)","roleHeading":"Initializer","modules":[{"name":"DiscogsService"}],"fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"headers","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO","text":"Operations","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO22DeleteCollectionFolderO","text":"DeleteCollectionFolder","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO22DeleteCollectionFolderO6OutputO","text":"Output","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO22DeleteCollectionFolderO6OutputO9NoContentV","text":"NoContent","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO22DeleteCollectionFolderO6OutputO9NoContentV7HeadersV","text":"Headers","kind":"typeIdentifier"},{"text":")","kind":"text"}],"symbolKind":"init","role":"symbol"},"sections":[],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"init","kind":"keyword"},{"kind":"text","text":"("},{"text":"headers","kind":"externalParam"},{"kind":"text","text":": "},{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations","text":"Operations","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO"},{"kind":"text","text":"."},{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/DeleteCollectionFolder","text":"DeleteCollectionFolder","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO22DeleteCollectionFolderO"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/DeleteCollectionFolder\/Output","text":"Output","preciseIdentifier":"s:14DiscogsService10OperationsO22DeleteCollectionFolderO6OutputO"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/DeleteCollectionFolder\/Output\/NoContent-swift.struct","text":"NoContent","preciseIdentifier":"s:14DiscogsService10OperationsO22DeleteCollectionFolderO6OutputO9NoContentV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/DeleteCollectionFolder\/Output\/NoContent-swift.struct\/Headers-swift.struct","text":"Headers","preciseIdentifier":"s:14DiscogsService10OperationsO22DeleteCollectionFolderO6OutputO9NoContentV7HeadersV"},{"kind":"text","text":")"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"},{"parameters":[{"name":"headers","content":[{"inlineContent":[{"text":"Received HTTP response headers","type":"text"}],"type":"paragraph"}]}],"kind":"parameters"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/discogsservice\/operations\/deletecollectionfolder\/output\/nocontent-swift.struct\/init(headers:)"]}],"references":{"doc://DiscogsService/documentation/DiscogsService/Operations/DeleteCollectionFolder/Output/NoContent-swift.struct/init(headers:)":{"url":"\/documentation\/discogsservice\/operations\/deletecollectionfolder\/output\/nocontent-swift.struct\/init(headers:)","abstract":[{"text":"Creates a new ","type":"text"},{"code":"NoContent","type":"codeVoice"},{"text":".","type":"text"}],"title":"init(headers:)","type":"topic","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"headers","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO","text":"Operations","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO22DeleteCollectionFolderO","text":"DeleteCollectionFolder","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO22DeleteCollectionFolderO6OutputO","text":"Output","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO22DeleteCollectionFolderO6OutputO9NoContentV","text":"NoContent","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO22DeleteCollectionFolderO6OutputO9NoContentV7HeadersV","text":"Headers","kind":"typeIdentifier"},{"text":")","kind":"text"}],"role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/DeleteCollectionFolder\/Output\/NoContent-swift.struct\/init(headers:)","kind":"symbol"},"doc://DiscogsService/documentation/DiscogsService/Operations/DeleteCollectionFolder/Output/NoContent-swift.struct":{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/DeleteCollectionFolder\/Output\/NoContent-swift.struct","abstract":[],"kind":"symbol","title":"Operations.DeleteCollectionFolder.Output.NoContent","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"NoContent","kind":"identifier"}],"type":"topic","role":"symbol","url":"\/documentation\/discogsservice\/operations\/deletecollectionfolder\/output\/nocontent-swift.struct","navigatorTitle":[{"text":"NoContent","kind":"identifier"}]},"doc://DiscogsService/documentation/DiscogsService/Operations/DeleteCollectionFolder/Output":{"url":"\/documentation\/discogsservice\/operations\/deletecollectionfolder\/output","type":"topic","abstract":[],"role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Output"}],"navigatorTitle":[{"text":"Output","kind":"identifier"}],"kind":"symbol","title":"Operations.DeleteCollectionFolder.Output","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/DeleteCollectionFolder\/Output"},"doc://DiscogsService/documentation/DiscogsService/Operations/DeleteCollectionFolder/Output/NoContent-swift.struct/Headers-swift.struct":{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/DeleteCollectionFolder\/Output\/NoContent-swift.struct\/Headers-swift.struct","kind":"symbol","role":"symbol","abstract":[],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Headers","kind":"identifier"}],"navigatorTitle":[{"text":"Headers","kind":"identifier"}],"title":"Operations.DeleteCollectionFolder.Output.NoContent.Headers","url":"\/documentation\/discogsservice\/operations\/deletecollectionfolder\/output\/nocontent-swift.struct\/headers-swift.struct"},"doc://DiscogsService/documentation/DiscogsService":{"title":"DiscogsService","type":"topic","url":"\/documentation\/discogsservice","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService","abstract":[],"kind":"symbol","role":"collection"},"doc://DiscogsService/documentation/DiscogsService/Operations/DeleteCollectionFolder":{"url":"\/documentation\/discogsservice\/operations\/deletecollectionfolder","type":"topic","abstract":[{"text":"Delete a collection folder from a collection of a user.","type":"text"}],"role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeleteCollectionFolder"}],"navigatorTitle":[{"kind":"identifier","text":"DeleteCollectionFolder"}],"kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/DeleteCollectionFolder","title":"Operations.DeleteCollectionFolder"},"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","role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations","url":"\/documentation\/discogsservice\/operations","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Operations","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Operations"}],"type":"topic","title":"Operations"}}}