Implemented the User Collection endpoints (#12)
This PR contains the work done to implement the *User Collection* endpoints of the Discogs API into the `OpenAPI` specification document:
* GET `/users/{username}/collection/folders`
* POST `/users/{username}/collection/folders`
* GET `/users/{username}/collection/folders/{folder_id}`
* POST `/users/{username}/collection/folders/{folder_id}`
* DELETE `/users/{username}/collection/folders/{folder_id}`
* GET `/users/{username}/collection/releases/{release_id}`
* GET `/users/{username}/collection/folders/{folder_id}/releases`
* POST `/users/{username}/collection/folders/{folder_id}/releases/{release_id}`
* POST `/users/{username}/collection/folders/{folder_id}/releases/{release_id}/instances/{instance_id}`
* DELETE `/users/{username}/collection/folders/{folder_id}/releases/{release_id}/instances/{instance_id}`
* GET `/users/{username}/collection/fields`
* POST `/users/{username}/collection/folders/{folder_id}/releases/{release_id}/instances/{instance_id}/fields/{field_id}`
* GET `/users/{username}/collection/value`
Reviewed-on: #12
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
This commit was merged in pull request #12.
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
{"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"inputNotSemanticVersion","kind":"identifier"}]}],"kind":"declarations"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputNotSemanticVersion"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/discogsservice\/inputvalidationerror\/inputnotsemanticversion"]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService","doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError"]]},"metadata":{"modules":[{"name":"DiscogsService"}],"symbolKind":"case","title":"InputValidationError.inputNotSemanticVersion","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"inputNotSemanticVersion","kind":"identifier"}],"roleHeading":"Case","externalID":"s:14DiscogsService20InputValidationErrorO23inputNotSemanticVersionyA2CmF","role":"symbol"},"kind":"symbol","abstract":[{"text":"An input is not a semantic version.","type":"text"}],"references":{"doc://DiscogsService/documentation/DiscogsService/InputValidationError":{"navigatorTitle":[{"text":"InputValidationError","kind":"identifier"}],"role":"symbol","type":"topic","abstract":[{"text":"A representation of all the possible validation error that could be thrown while validating an input.","type":"text"}],"kind":"symbol","title":"InputValidationError","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError","url":"\/documentation\/discogsservice\/inputvalidationerror","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"InputValidationError","kind":"identifier"}]},"doc://DiscogsService/documentation/DiscogsService/InputValidationError/inputNotSemanticVersion":{"url":"\/documentation\/discogsservice\/inputvalidationerror\/inputnotsemanticversion","role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputNotSemanticVersion","title":"InputValidationError.inputNotSemanticVersion","abstract":[{"text":"An input is not a semantic version.","type":"text"}],"fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"inputNotSemanticVersion"}],"kind":"symbol","type":"topic"},"doc://DiscogsService/documentation/DiscogsService":{"type":"topic","role":"collection","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService","title":"DiscogsService","abstract":[],"url":"\/documentation\/discogsservice","kind":"symbol"}}}
|
||||
{"sections":[],"schemaVersion":{"minor":3,"major":0,"patch":0},"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService","doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError"]]},"abstract":[{"type":"text","text":"An input is not a semantic version."}],"metadata":{"title":"InputValidationError.inputNotSemanticVersion","roleHeading":"Case","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"inputNotSemanticVersion"}],"role":"symbol","externalID":"s:14DiscogsService20InputValidationErrorO23inputNotSemanticVersionyA2CmF","modules":[{"name":"DiscogsService"}],"symbolKind":"case"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/discogsservice\/inputvalidationerror\/inputnotsemanticversion"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"inputNotSemanticVersion"}],"platforms":["macOS"],"languages":["swift"]}]}],"identifier":{"url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputNotSemanticVersion","interfaceLanguage":"swift"},"kind":"symbol","references":{"doc://DiscogsService/documentation/DiscogsService":{"url":"\/documentation\/discogsservice","abstract":[],"kind":"symbol","type":"topic","title":"DiscogsService","role":"collection","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService"},"doc://DiscogsService/documentation/DiscogsService/InputValidationError":{"url":"\/documentation\/discogsservice\/inputvalidationerror","navigatorTitle":[{"kind":"identifier","text":"InputValidationError"}],"type":"topic","abstract":[{"type":"text","text":"A representation of all the possible validation error that could be thrown while validating an input."}],"kind":"symbol","title":"InputValidationError","role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"InputValidationError"}]},"doc://DiscogsService/documentation/DiscogsService/InputValidationError/inputNotSemanticVersion":{"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"inputNotSemanticVersion","kind":"identifier"}],"abstract":[{"type":"text","text":"An input is not a semantic version."}],"kind":"symbol","type":"topic","title":"InputValidationError.inputNotSemanticVersion","url":"\/documentation\/discogsservice\/inputvalidationerror\/inputnotsemanticversion","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputNotSemanticVersion","role":"symbol"}}}
|
||||
Reference in New Issue
Block a user