63118db805
This PR contains the work done to implement the *User Lists* endpoints of the *Discogs API* service in the `Open API` specification document:
* GET `/users/{username}/lists`
* GET `/lists/{list_id}`
Reviewed-on: #14
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
1 line
18 KiB
JSON
1 line
18 KiB
JSON
{"metadata":{"role":"symbol","roleHeading":"Enumeration","navigatorTitle":[{"text":"Output","kind":"identifier"}],"modules":[{"name":"DiscogsService"}],"symbolKind":"enum","title":"Operations.PostReleaseToCollectionFolder.Output","externalID":"s:14DiscogsService10OperationsO29PostReleaseToCollectionFolderO6OutputO","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Output","kind":"identifier"}]},"sections":[],"relationshipsSections":[{"type":"conformsTo","kind":"relationships","identifiers":["doc:\/\/DiscogsService\/SQ","doc:\/\/DiscogsService\/SH","doc:\/\/DiscogsService\/s8SendableP","doc:\/\/DiscogsService\/s16SendableMetatypeP"],"title":"Conforms To"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/discogsservice\/operations\/postreleasetocollectionfolder\/output"]}],"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder"]]},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"@frozen","kind":"attribute"},{"text":" ","kind":"text"},{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Output","kind":"identifier"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"identifier":{"url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Output","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"patch":0,"minor":3},"topicSections":[{"generated":true,"identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Output\/Created-swift.struct"],"title":"Structures","anchor":"Structures"},{"generated":true,"identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Output\/created(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Output\/forbidden(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Output\/internalServerError(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Output\/notFound(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Output\/undocumented(statusCode:_:)"],"title":"Enumeration Cases","anchor":"Enumeration-Cases"},{"generated":true,"identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Output\/created-swift.property","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Output\/forbidden","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Output\/internalServerError","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Output\/notFound"],"title":"Instance Properties","anchor":"Instance-Properties"},{"generated":true,"identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Output\/Equatable-Implementations"],"title":"Default Implementations","anchor":"Default-Implementations"}],"kind":"symbol","references":{"doc://DiscogsService/documentation/DiscogsService/Operations/PostReleaseToCollectionFolder/Output/Created-swift.struct":{"type":"topic","navigatorTitle":[{"kind":"identifier","text":"Created"}],"url":"\/documentation\/discogsservice\/operations\/postreleasetocollectionfolder\/output\/created-swift.struct","abstract":[],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Output\/Created-swift.struct","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Created"}],"role":"symbol","kind":"symbol","title":"Operations.PostReleaseToCollectionFolder.Output.Created"},"doc://DiscogsService/documentation/DiscogsService/Operations/PostReleaseToCollectionFolder/Output/internalServerError":{"type":"topic","url":"\/documentation\/discogsservice\/operations\/postreleasetocollectionfolder\/output\/internalservererror","abstract":[{"type":"text","text":"The associated value of the enum case if "},{"type":"codeVoice","code":"self"},{"type":"text","text":" is "},{"type":"codeVoice","code":".internalServerError"},{"type":"text","text":"."}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Output\/internalServerError","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"internalServerError"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Components","preciseIdentifier":"s:14DiscogsService10ComponentsO"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Responses","preciseIdentifier":"s:14DiscogsService10ComponentsO9ResponsesO"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"InternalError","preciseIdentifier":"s:14DiscogsService10ComponentsO9ResponsesO13InternalErrorV"}],"role":"symbol","kind":"symbol","title":"internalServerError"},"doc://DiscogsService/documentation/DiscogsService/Operations/PostReleaseToCollectionFolder/Output/notFound":{"url":"\/documentation\/discogsservice\/operations\/postreleasetocollectionfolder\/output\/notfound","role":"symbol","abstract":[{"type":"text","text":"The associated value of the enum case if "},{"type":"codeVoice","code":"self"},{"type":"text","text":" is "},{"type":"codeVoice","code":".notFound"},{"type":"text","text":"."}],"title":"notFound","type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"notFound"},{"kind":"text","text":": "},{"preciseIdentifier":"s:14DiscogsService10ComponentsO","kind":"typeIdentifier","text":"Components"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10ComponentsO9ResponsesO","kind":"typeIdentifier","text":"Responses"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10ComponentsO9ResponsesO8NotFoundV","kind":"typeIdentifier","text":"NotFound"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Output\/notFound"},"doc://DiscogsService/SQ":{"identifier":"doc:\/\/DiscogsService\/SQ","type":"unresolvable","title":"Swift.Equatable"},"doc://DiscogsService/s16SendableMetatypeP":{"identifier":"doc:\/\/DiscogsService\/s16SendableMetatypeP","type":"unresolvable","title":"Swift.SendableMetatype"},"doc://DiscogsService/documentation/DiscogsService/Operations":{"kind":"symbol","navigatorTitle":[{"text":"Operations","kind":"identifier"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Operations","kind":"identifier"}],"role":"symbol","type":"topic","title":"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"}],"url":"\/documentation\/discogsservice\/operations"},"doc://DiscogsService/documentation/DiscogsService/Operations/PostReleaseToCollectionFolder/Output/forbidden":{"type":"topic","url":"\/documentation\/discogsservice\/operations\/postreleasetocollectionfolder\/output\/forbidden","abstract":[{"text":"The associated value of the enum case if ","type":"text"},{"type":"codeVoice","code":"self"},{"text":" is ","type":"text"},{"type":"codeVoice","code":".forbidden"},{"text":".","type":"text"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Output\/forbidden","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"forbidden"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO","text":"Components"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO9ResponsesO","text":"Responses"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO9ResponsesO13NotAccessableV","text":"NotAccessable"}],"role":"symbol","kind":"symbol","title":"forbidden"},"doc://DiscogsService/documentation/DiscogsService/Operations/PostReleaseToCollectionFolder/Output/created(_:)":{"type":"topic","url":"\/documentation\/discogsservice\/operations\/postreleasetocollectionfolder\/output\/created(_:)","abstract":[{"text":"Successfully added a specific release into a collection folder of a user.","type":"text"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Output\/created(_:)","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"created"},{"kind":"text","text":"("},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO29PostReleaseToCollectionFolderO","kind":"typeIdentifier","text":"PostReleaseToCollectionFolder"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO29PostReleaseToCollectionFolderO6OutputO","kind":"typeIdentifier","text":"Output"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO29PostReleaseToCollectionFolderO6OutputO7CreatedV","kind":"typeIdentifier","text":"Created"},{"kind":"text","text":")"}],"role":"symbol","kind":"symbol","title":"Operations.PostReleaseToCollectionFolder.Output.created(_:)"},"doc://DiscogsService/documentation/DiscogsService/Operations/PostReleaseToCollectionFolder/Output/Equatable-Implementations":{"type":"topic","url":"\/documentation\/discogsservice\/operations\/postreleasetocollectionfolder\/output\/equatable-implementations","abstract":[],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Output\/Equatable-Implementations","role":"collectionGroup","kind":"article","title":"Equatable Implementations"},"doc://DiscogsService/documentation/DiscogsService/Operations/PostReleaseToCollectionFolder":{"type":"topic","navigatorTitle":[{"text":"PostReleaseToCollectionFolder","kind":"identifier"}],"title":"Operations.PostReleaseToCollectionFolder","kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"PostReleaseToCollectionFolder"}],"abstract":[{"type":"text","text":"Add a release to a collection folder of a user."}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder","role":"symbol","url":"\/documentation\/discogsservice\/operations\/postreleasetocollectionfolder"},"doc://DiscogsService/documentation/DiscogsService/Operations/PostReleaseToCollectionFolder/Output/forbidden(_:)":{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Output\/forbidden(_:)","role":"symbol","abstract":[{"text":"A requested resource cannot be accessed due to a lack of permission.","type":"text"}],"title":"Operations.PostReleaseToCollectionFolder.Output.forbidden(_:)","type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"forbidden"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO","text":"Components"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO9ResponsesO","text":"Responses"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO9ResponsesO13NotAccessableV","text":"NotAccessable"},{"kind":"text","text":")"}],"url":"\/documentation\/discogsservice\/operations\/postreleasetocollectionfolder\/output\/forbidden(_:)"},"doc://DiscogsService/s8SendableP":{"type":"unresolvable","title":"Swift.Sendable","identifier":"doc:\/\/DiscogsService\/s8SendableP"},"doc://DiscogsService/documentation/DiscogsService/Operations/PostReleaseToCollectionFolder/Output/notFound(_:)":{"type":"topic","url":"\/documentation\/discogsservice\/operations\/postreleasetocollectionfolder\/output\/notfound(_:)","abstract":[{"text":"A requested resource cannot be found.","type":"text"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Output\/notFound(_:)","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"notFound","kind":"identifier"},{"text":"(","kind":"text"},{"text":"Components","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO"},{"text":".","kind":"text"},{"text":"Responses","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO9ResponsesO"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO9ResponsesO8NotFoundV","text":"NotFound"},{"kind":"text","text":")"}],"role":"symbol","kind":"symbol","title":"Operations.PostReleaseToCollectionFolder.Output.notFound(_:)"},"doc://DiscogsService/documentation/DiscogsService/Operations/PostReleaseToCollectionFolder/Output/internalServerError(_:)":{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Output\/internalServerError(_:)","role":"symbol","abstract":[{"text":"An Internal Server error was encountered.","type":"text"}],"title":"Operations.PostReleaseToCollectionFolder.Output.internalServerError(_:)","type":"topic","kind":"symbol","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"internalServerError","kind":"identifier"},{"kind":"text","text":"("},{"text":"Components","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO"},{"kind":"text","text":"."},{"text":"Responses","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO9ResponsesO"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO9ResponsesO13InternalErrorV","text":"InternalError"},{"text":")","kind":"text"}],"url":"\/documentation\/discogsservice\/operations\/postreleasetocollectionfolder\/output\/internalservererror(_:)"},"doc://DiscogsService/documentation/DiscogsService/Operations/PostReleaseToCollectionFolder/Output":{"type":"topic","navigatorTitle":[{"kind":"identifier","text":"Output"}],"url":"\/documentation\/discogsservice\/operations\/postreleasetocollectionfolder\/output","abstract":[],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Output","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Output"}],"role":"symbol","kind":"symbol","title":"Operations.PostReleaseToCollectionFolder.Output"},"doc://DiscogsService/documentation/DiscogsService/Operations/PostReleaseToCollectionFolder/Output/created-swift.property":{"abstract":[{"type":"text","text":"The associated value of the enum case if "},{"type":"codeVoice","code":"self"},{"type":"text","text":" is "},{"type":"codeVoice","code":".created"},{"type":"text","text":"."}],"url":"\/documentation\/discogsservice\/operations\/postreleasetocollectionfolder\/output\/created-swift.property","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"created","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Operations","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO"},{"text":".","kind":"text"},{"text":"PostReleaseToCollectionFolder","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO29PostReleaseToCollectionFolderO"},{"text":".","kind":"text"},{"text":"Output","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO29PostReleaseToCollectionFolderO6OutputO"},{"text":".","kind":"text"},{"text":"Created","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO29PostReleaseToCollectionFolderO6OutputO7CreatedV"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Output\/created-swift.property","kind":"symbol","type":"topic","title":"created","role":"symbol"},"doc://DiscogsService/documentation/DiscogsService/Operations/PostReleaseToCollectionFolder/Output/undocumented(statusCode:_:)":{"url":"\/documentation\/discogsservice\/operations\/postreleasetocollectionfolder\/output\/undocumented(statuscode:_:)","kind":"symbol","abstract":[{"text":"Undocumented response.","type":"text"}],"type":"topic","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"undocumented","kind":"identifier"},{"text":"(","kind":"text"},{"text":"statusCode","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"text":", ","kind":"text"},{"text":"UndocumentedPayload","kind":"typeIdentifier","preciseIdentifier":"s:14OpenAPIRuntime19UndocumentedPayloadV"},{"text":")","kind":"text"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Output\/undocumented(statusCode:_:)","title":"Operations.PostReleaseToCollectionFolder.Output.undocumented(statusCode:_:)"},"doc://DiscogsService/documentation/DiscogsService":{"url":"\/documentation\/discogsservice","role":"collection","abstract":[],"title":"DiscogsService","type":"topic","kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService"},"doc://DiscogsService/SH":{"type":"unresolvable","identifier":"doc:\/\/DiscogsService\/SH","title":"Swift.Hashable"}}} |