f3d5c0e6ac
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>
1 line
9.4 KiB
JSON
1 line
9.4 KiB
JSON
{"schemaVersion":{"major":0,"patch":0,"minor":3},"abstract":[{"text":"A representation of all the possible validation error that could be thrown while validating an input.","type":"text"}],"identifier":{"url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError","interfaceLanguage":"swift"},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/discogsservice\/inputvalidationerror"]}],"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"InputValidationError"}]}]}],"metadata":{"externalID":"s:14DiscogsService20InputValidationErrorO","role":"symbol","symbolKind":"enum","roleHeading":"Enumeration","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"InputValidationError"}],"navigatorTitle":[{"text":"InputValidationError","kind":"identifier"}],"modules":[{"name":"DiscogsService"}],"title":"InputValidationError"},"relationshipsSections":[{"title":"Conforms To","identifiers":["doc:\/\/DiscogsService\/SQ","doc:\/\/DiscogsService\/s5ErrorP","doc:\/\/DiscogsService\/SH","doc:\/\/DiscogsService\/s8SendableP","doc:\/\/DiscogsService\/s16SendableMetatypeP"],"kind":"relationships","type":"conformsTo"}],"kind":"symbol","topicSections":[{"title":"Enumeration Cases","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputIsEmpty","doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputIsNil","doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputNotCamelCase","doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputNotConsumerKey","doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputNotConsumerSecret","doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputNotSemanticVersion","doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputNotURL","doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputNotUserToken"],"generated":true,"anchor":"Enumeration-Cases"},{"title":"Default Implementations","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/Equatable-Implementations","doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/Error-Implementations"],"generated":true,"anchor":"Default-Implementations"}],"references":{"doc://DiscogsService/documentation/DiscogsService/InputValidationError/inputNotSemanticVersion":{"abstract":[{"text":"An input is not a semantic version.","type":"text"}],"role":"symbol","url":"\/documentation\/discogsservice\/inputvalidationerror\/inputnotsemanticversion","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputNotSemanticVersion","type":"topic","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"inputNotSemanticVersion","kind":"identifier"}],"title":"InputValidationError.inputNotSemanticVersion","kind":"symbol"},"doc://DiscogsService/documentation/DiscogsService/InputValidationError/inputIsEmpty":{"role":"symbol","kind":"symbol","url":"\/documentation\/discogsservice\/inputvalidationerror\/inputisempty","type":"topic","title":"InputValidationError.inputIsEmpty","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"inputIsEmpty","kind":"identifier"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputIsEmpty","abstract":[{"text":"An input is empty.","type":"text"}]},"doc://DiscogsService/documentation/DiscogsService/InputValidationError/inputNotCamelCase":{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputNotCamelCase","kind":"symbol","role":"symbol","abstract":[{"text":"An input is not camel-case.","type":"text"}],"type":"topic","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"inputNotCamelCase","kind":"identifier"}],"title":"InputValidationError.inputNotCamelCase","url":"\/documentation\/discogsservice\/inputvalidationerror\/inputnotcamelcase"},"doc://DiscogsService/s5ErrorP":{"type":"unresolvable","identifier":"doc:\/\/DiscogsService\/s5ErrorP","title":"Swift.Error"},"doc://DiscogsService/documentation/DiscogsService/InputValidationError/inputNotUserToken":{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputNotUserToken","kind":"symbol","role":"symbol","abstract":[{"text":"An input does not comply with the user token requirements.","type":"text"}],"type":"topic","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"inputNotUserToken","kind":"identifier"}],"title":"InputValidationError.inputNotUserToken","url":"\/documentation\/discogsservice\/inputvalidationerror\/inputnotusertoken"},"doc://DiscogsService/documentation/DiscogsService/InputValidationError/inputNotConsumerSecret":{"role":"symbol","kind":"symbol","url":"\/documentation\/discogsservice\/inputvalidationerror\/inputnotconsumersecret","type":"topic","title":"InputValidationError.inputNotConsumerSecret","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"inputNotConsumerSecret","kind":"identifier"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputNotConsumerSecret","abstract":[{"text":"An input does not comply with the consumer secret requirements.","type":"text"}]},"doc://DiscogsService/documentation/DiscogsService/InputValidationError/Error-Implementations":{"role":"collectionGroup","kind":"article","url":"\/documentation\/discogsservice\/inputvalidationerror\/error-implementations","type":"topic","title":"Error Implementations","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/Error-Implementations","abstract":[]},"doc://DiscogsService/SQ":{"type":"unresolvable","identifier":"doc:\/\/DiscogsService\/SQ","title":"Swift.Equatable"},"doc://DiscogsService/documentation/DiscogsService/InputValidationError/inputIsNil":{"role":"symbol","kind":"symbol","url":"\/documentation\/discogsservice\/inputvalidationerror\/inputisnil","type":"topic","title":"InputValidationError.inputIsNil","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"inputIsNil","kind":"identifier"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputIsNil","abstract":[{"text":"An input is nil.","type":"text"}]},"doc://DiscogsService/documentation/DiscogsService/InputValidationError":{"navigatorTitle":[{"kind":"identifier","text":"InputValidationError"}],"kind":"symbol","url":"\/documentation\/discogsservice\/inputvalidationerror","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"InputValidationError"}],"title":"InputValidationError","abstract":[{"type":"text","text":"A representation of all the possible validation error that could be thrown while validating an input."}],"role":"symbol","type":"topic","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError"},"doc://DiscogsService/s16SendableMetatypeP":{"type":"unresolvable","title":"Swift.SendableMetatype","identifier":"doc:\/\/DiscogsService\/s16SendableMetatypeP"},"doc://DiscogsService/documentation/DiscogsService/InputValidationError/inputNotURL":{"kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputNotURL","role":"symbol","abstract":[{"type":"text","text":"An input is not a URL."}],"type":"topic","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"inputNotURL"}],"title":"InputValidationError.inputNotURL","url":"\/documentation\/discogsservice\/inputvalidationerror\/inputnoturl"},"doc://DiscogsService/SH":{"type":"unresolvable","title":"Swift.Hashable","identifier":"doc:\/\/DiscogsService\/SH"},"doc://DiscogsService/s8SendableP":{"type":"unresolvable","title":"Swift.Sendable","identifier":"doc:\/\/DiscogsService\/s8SendableP"},"doc://DiscogsService/documentation/DiscogsService/InputValidationError/Equatable-Implementations":{"kind":"article","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/Equatable-Implementations","role":"collectionGroup","abstract":[],"type":"topic","title":"Equatable Implementations","url":"\/documentation\/discogsservice\/inputvalidationerror\/equatable-implementations"},"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/InputValidationError/inputNotConsumerKey":{"kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputNotConsumerKey","role":"symbol","abstract":[{"type":"text","text":"An input does not comply with the consumer key requirements."}],"type":"topic","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"inputNotConsumerKey"}],"title":"InputValidationError.inputNotConsumerKey","url":"\/documentation\/discogsservice\/inputvalidationerror\/inputnotconsumerkey"}}} |