2a7b9746a7
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>
1 line
80 KiB
JSON
1 line
80 KiB
JSON
{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/discogsservice\/client"]}],"sections":[],"schemaVersion":{"patch":0,"minor":3,"major":0},"abstract":[{"type":"text","text":"The Discogs API v2.0 is a RESTful interface to Discogs data. You can access JSON-formatted information about Database objects such as "},{"inlineContent":[{"text":"Artists","type":"text"}],"type":"emphasis"},{"text":", ","type":"text"},{"inlineContent":[{"text":"Releases","type":"text"}],"type":"emphasis"},{"text":", and ","type":"text"},{"inlineContent":[{"type":"text","text":"Labels"}],"type":"emphasis"},{"text":". Your application can also manage ","type":"text"},{"inlineContent":[{"type":"text","text":"User Collections"}],"type":"emphasis"},{"text":" and ","type":"text"},{"inlineContent":[{"type":"text","text":"Wantlists"}],"type":"emphasis"},{"text":", create ","type":"text"},{"inlineContent":[{"text":"Marketplace","type":"text"}],"type":"emphasis"},{"text":" listings, and more.","type":"text"}],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Client","kind":"identifier"}],"platforms":["macOS"]}]},{"content":[{"level":2,"anchor":"overview","text":"Overview","type":"heading"},{"inlineContent":[{"type":"text","text":"Some Discogs data is made available under the "},{"type":"reference","isActive":true,"identifier":"https:\/\/creativecommons.org\/public-domain\/cc0\/"},{"type":"text","text":" license, and some is restricted data, as defined in our "},{"type":"reference","isActive":true,"identifier":"https:\/\/support.discogs.com\/hc\/en-us\/articles\/360009334593-API-Terms-of-Use"},{"type":"text","text":"."}],"type":"paragraph"},{"inlineContent":[{"type":"text","text":"Our monthly data dumps are available under the the "},{"overridingTitle":"CC0 No Rights Reserved","overridingTitleInlineContent":[{"type":"text","text":"CC0 No Rights Reserved"}],"type":"reference","isActive":true,"identifier":"https:\/\/creativecommons.org\/public-domain\/cc0\/"},{"type":"text","text":" license."}],"type":"paragraph"},{"inlineContent":[{"type":"text","text":"If you utilize the Discogs API, you are subject to the "},{"overridingTitle":"API Terms of Use","overridingTitleInlineContent":[{"type":"text","text":"API Terms of Use"}],"type":"reference","isActive":true,"identifier":"https:\/\/support.discogs.com\/hc\/en-us\/articles\/360009334593-API-Terms-of-Use"},{"type":"text","text":". Please also ensure that any application you develop follows the Discogs "},{"overridingTitle":"Application Name and Description Policy","overridingTitleInlineContent":[{"type":"text","text":"Application Name and Description Policy"}],"type":"reference","isActive":true,"identifier":"https:\/\/support.discogs.com\/hc\/en-us\/articles\/360009334593-API-Terms-of-Use"}],"type":"paragraph"},{"level":1,"anchor":"Quickstart","text":"Quickstart","type":"heading"},{"inlineContent":[{"type":"text","text":"If you just want to see some results right now, issue this "},{"type":"emphasis","inlineContent":[{"type":"text","text":"curl"}]},{"type":"text","text":" command:"}],"type":"paragraph"},{"code":["curl https:\/\/api.discogs.com\/releases\/249504 --user-agent \"FooBarApp\/3.0\""],"syntax":"bash","type":"codeListing"},{"level":1,"anchor":"General-information","text":"General information","type":"heading"},{"inlineContent":[{"type":"text","text":"General Information"}],"type":"paragraph"},{"inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"Your application must provide a User-Agent string that identifies itself"}]},{"type":"text","text":" - preferably something that follows "},{"type":"reference","isActive":true,"identifier":"https:\/\/datatracker.ietf.org\/doc\/html\/rfc1945#section-3.7"},{"type":"text","text":". Some good examples include:"}],"type":"paragraph"},{"code":["AwesomeDiscogsBrowser\/0.1 +http:\/\/adb.example.com","LibraryMetadataEnhancer\/0.3 +http:\/\/example.com\/lime","MyDiscogsClient\/1.0 +http:\/\/mydiscogsclient.org"],"syntax":null,"type":"codeListing"},{"inlineContent":[{"type":"text","text":"Please don’t just copy one of those! Make it unique so we can let you know if your application starts to misbehave - the alternative is that we just silently block it, which will confuse and infuriate your users."}],"type":"paragraph"},{"inlineContent":[{"type":"text","text":"Here are some bad examples that are unclear or obscure the nature of the application:"}],"type":"paragraph"},{"code":["curl\/7.9.8 (i686-pc-linux-gnu) libcurl 7.9.8 (OpenSSL 0.9.6b)","Mozilla\/5.0 (X11; Linux i686; rv:6.0.2) Gecko\/20100101 Firefox\/6.0.2","my app"],"syntax":null,"type":"codeListing"},{"level":1,"anchor":"Authentication","text":"Authentication","type":"heading"},{"inlineContent":[{"type":"text","text":"Most endpoints require authentication. The API supports multiple methods:"}],"type":"paragraph"},{"items":[{"content":[{"inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"Discogs Auth (Key & Secret):"}]},{"type":"text","text":" For read-only access to public data with a higher rate limit."}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"Discogs Auth (Personal Access Token):"}]},{"type":"text","text":" For full access to your own user account data."}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"OAuth 1.0a:"}]},{"type":"text","text":" For building third-party applications that act on behalf of other Discogs users."}],"type":"paragraph"}]}],"type":"orderedList"},{"level":1,"anchor":"Rate-Limiting","text":"Rate Limiting","type":"heading"},{"inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"Requests are throttled by the server by source IP to 60 per minute for authenticated requests, and 25 per minute for unauthenticated requests, with some exceptions."}]}],"type":"paragraph"},{"inlineContent":[{"type":"text","text":"Your application should identify itself to our servers via a unique user agent string in order to achieve the maximum number of requests per minute."}],"type":"paragraph"},{"type":"paragraph","inlineContent":[{"text":"Our rate limiting tracks your requests using a moving average over a 60 second window. If no requests are made in 60 seconds, your window will reset.","type":"text"}]},{"type":"paragraph","inlineContent":[{"text":"We attach the following headers to responses to help you track your rate limit use:","type":"text"}]},{"items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"codeVoice","code":"X-Discogs-Ratelimit"},{"type":"text","text":": The total number of requests that can make in a one minute window."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"codeVoice","code":"X-Discogs-Ratelimit-Used"},{"type":"text","text":" : The number of requests made in an existing rate limit window."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"codeVoice","code":"X-Discogs-Ratelimit-Remaining"},{"type":"text","text":": The number of remaining requests to make in an existing rate limit window."}]}]}],"type":"unorderedList"},{"type":"paragraph","inlineContent":[{"text":"Your application should take our global limit into account and throttle its requests locally.","type":"text"}]},{"type":"paragraph","inlineContent":[{"text":"In the future, we may update these rate limits at any time in order to provide service for all users.","type":"text"}]},{"type":"heading","level":1,"anchor":"Pagination","text":"Pagination"},{"type":"paragraph","inlineContent":[{"text":"Some resources represent collections of objects and may be paginated. By default, 50 items per page are shown.","type":"text"}]},{"type":"paragraph","inlineContent":[{"text":"To browse different pages, or change the number of items per page (up to 100), use the page and per_page query string parameters:","type":"text"}]},{"type":"codeListing","syntax":null,"code":["GET https:\/\/api.discogs.com\/artists\/1\/releases?page=2&per_page=75"]},{"type":"paragraph","inlineContent":[{"text":"Responses include a ","type":"text"},{"code":"Link","type":"codeVoice"},{"text":" header:","type":"text"}]},{"type":"codeListing","syntax":null,"code":["Link: <https:\/\/api.discogs.com\/artists\/1\/releases?page=3&per_page=75>; rel=next,","<https:\/\/api.discogs.com\/artists\/1\/releases?page=1&per_page=75>; rel=first,","<https:\/\/api.discogs.com\/artists\/1\/releases?page=30&per_page=75>; rel=last,","<https:\/\/api.discogs.com\/artists\/1\/releases?page=1&per_page=75>; rel=prev"]},{"type":"paragraph","inlineContent":[{"text":"And a pagination object in the response body:","type":"text"}]},{"type":"codeListing","syntax":"json","code":["{"," \"pagination\": { "," \"page\": 2, "," \"pages\": 30, "," \"items\": 2255, "," \"per_page\": 75, "," \"urls\":"," { "," \"first\": \"https:\/\/api.discogs.com\/artists\/1\/releases?page=1&per_page=75\","," \"prev\": \"https:\/\/api.discogs.com\/artists\/1\/releases?page=1&per_page=75\", "," \"next\": \"https:\/\/api.discogs.com\/artists\/1\/releases?page=3&per_page=75\", "," last\": \"https:\/\/api.discogs.com\/artists\/1\/releases?page=30&per_page=75\""," } "," }, "," \"releases\":"," [ ... ] "," }","}"]},{"type":"heading","level":1,"anchor":"Versioning-and-Media-Types","text":"Versioning and Media Types"},{"type":"paragraph","inlineContent":[{"text":"Currently, the API only supports one version: ","type":"text"},{"code":"v2","type":"codeVoice"},{"text":". However, you can specify a version in your requests to future-proof your application. By adding an ","type":"text"},{"code":"Accept","type":"codeVoice"},{"text":" header with the version and media type, you can guarantee your requests will receive data from the correct version you develop your app on.","type":"text"}]},{"type":"paragraph","inlineContent":[{"text":"A standard ","type":"text"},{"code":"Accept","type":"codeVoice"},{"text":" header may look like this:","type":"text"}]},{"type":"codeListing","syntax":null,"code":["application\/vnd.discogs.v2.html+json"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If case of requesting information from an endpoint that may have text formatting in it, it is possible to choose which kind of formatting to be returned by changing that section of the "},{"type":"codeVoice","code":"Accept"},{"type":"text","text":" header. We currently support 3 types:"}]},{"items":[{"content":[{"inlineContent":[{"type":"codeVoice","code":"application\/vnd.discogs.v2.html+json"}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"type":"codeVoice","code":"application\/vnd.discogs.v2.plaintext+json"}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"codeVoice","code":"application\/vnd.discogs.v2.discogs+json"}]}]}],"type":"unorderedList"},{"type":"paragraph","inlineContent":[{"type":"text","text":"If no "},{"type":"codeVoice","code":"Accept"},{"type":"text","text":" header is supplied, or if the Accept header differs from one of the three previous options, we default to "},{"type":"codeVoice","code":"application\/vnd.discogs.v2.discogs+json"},{"type":"text","text":"."}]},{"level":1,"type":"heading","text":"Videos","anchor":"Videos"},{"type":"paragraph","inlineContent":[{"type":"text","text":"In case an application integrates "},{"type":"strong","inlineContent":[{"type":"text","text":"YouTube"}]},{"type":"text","text":" videos, then third party cookies may be used. Please refer to the "},{"type":"reference","identifier":"https:\/\/policies.google.com\/technologies\/cookies","isActive":true},{"text":".","type":"text"}]},{"type":"heading","level":1,"anchor":"FAQ","text":"FAQ"},{"type":"paragraph","inlineContent":[{"inlineContent":[{"type":"text","text":"1) Why am I getting an empty response from the server?"}],"type":"strong"}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"This generally happens when no "},{"type":"codeVoice","code":"User-Agent"},{"type":"text","text":" header is added to the requests."}]},{"type":"paragraph","inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"2) How do I get updates about the API?"}]}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Subscribe to the "},{"type":"reference","identifier":"https:\/\/www.discogs.com\/forum\/thread\/521520689469733cfcfd2089","isActive":true},{"type":"text","text":". For larger, breaking changes, an email notice to all developers with a registered Discogs application will be sent."}]},{"type":"paragraph","inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"3) Where can I register a Discogs application?"}]}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"A Discogs application can be registered on the "},{"type":"reference","identifier":"https:\/\/www.discogs.com\/settings\/developers","isActive":true},{"type":"text","text":"."}]},{"inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"4) If I have a question\/issue with the API, should I file a Support Request?"}]}],"type":"paragraph"},{"inlineContent":[{"type":"text","text":"It’s generally best to start out with a forum post on the "},{"type":"reference","isActive":true,"identifier":"https:\/\/www.discogs.com\/forum\/topic\/1082"},{"type":"text","text":" since other developers may have had similar issues and they can point in the right direction. If the issue requires privacy, then a support request is the best way to go."}],"type":"paragraph"},{"inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"5) I’m getting a 404 response when trying to fetch images; what gives?"}]}],"type":"paragraph"},{"type":"paragraph","inlineContent":[{"type":"text","text":"This may seem obvious, but make sure the URL has not been changed. The URLs returned are signed URLs, so trying to change one part of the URL (e.g., "},{"type":"emphasis","inlineContent":[{"type":"text","text":"Release ID"}]},{"type":"text","text":" number) will generally not work."}]},{"inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"6) What are the authentication requirements for requesting images?"}]}],"type":"paragraph"},{"inlineContent":[{"type":"text","text":"Please see the "},{"type":"reference","identifier":"https:\/\/www.discogs.com\/developers\/#page:images","isActive":true},{"type":"text","text":"."}],"type":"paragraph"},{"type":"paragraph","inlineContent":[{"inlineContent":[{"type":"text","text":"7) Why am I getting a particular HTTP response?"}],"type":"strong"}]},{"inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"200 OK"}]}],"type":"paragraph"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The request was successful, and the requested data is provided in the response body."}]},{"inlineContent":[{"inlineContent":[{"type":"text","text":"201 Continue"}],"type":"strong"}],"type":"paragraph"},{"inlineContent":[{"type":"text","text":"POST request is sent to a list of resources to create a new one. The ID of the newly-created resource will be provided in the body of the response."}],"type":"paragraph"},{"type":"paragraph","inlineContent":[{"inlineContent":[{"type":"text","text":"204 No Content"}],"type":"strong"}]},{"inlineContent":[{"type":"text","text":"The request was successful, and the server has no additional information to convey, so the response body is empty."}],"type":"paragraph"},{"inlineContent":[{"inlineContent":[{"type":"text","text":"401 Unauthorized"}],"type":"strong"}],"type":"paragraph"},{"type":"paragraph","inlineContent":[{"type":"text","text":"A resource that first requires "},{"type":"reference","identifier":"https:\/\/www.discogs.com\/developers\/#page:authentication","isActive":true},{"type":"text","text":" is being accessed. See Authenticating with OAuth."}]},{"inlineContent":[{"inlineContent":[{"type":"text","text":"403 Forbidden"}],"type":"strong"}],"type":"paragraph"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The access to a resource is not allowed, even if authenticated. Trying to modify another user’s profile, for example, will produce this error."}]},{"type":"paragraph","inlineContent":[{"inlineContent":[{"text":"404 Not Found","type":"text"}],"type":"strong"}]},{"inlineContent":[{"text":"The requested resource does not exist.","type":"text"}],"type":"paragraph"},{"inlineContent":[{"inlineContent":[{"type":"text","text":"405 Method Not Allowed"}],"type":"strong"}],"type":"paragraph"},{"inlineContent":[{"type":"text","text":"A HTTP verb is not supported by the resource. Trying to "},{"type":"codeVoice","code":"PUT"},{"type":"text","text":" to "},{"type":"codeVoice","code":"\/artists\/1"},{"type":"text","text":", for example, will fail because "},{"type":"codeVoice","code":"Artists"},{"type":"text","text":" are read-only."}],"type":"paragraph"},{"type":"paragraph","inlineContent":[{"inlineContent":[{"type":"text","text":"422 Unprocessable Entity"}],"type":"strong"}]},{"type":"paragraph","inlineContent":[{"text":"Even though the request is well-formed, there is something semantically wrong with the body of the request. This can be due to malformed JSON, a missing parameter or the wrong type, or trying to perform an action that doesn not make any sense. Check the response body for specific information about what went wrong.","type":"text"}]},{"type":"paragraph","inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"500 Internal Server Error"}]}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Something went wrong on the service while attempting to process the request. The message field of the response body will contain an error code that can be sent to Discogs Support (which will help on tracking down your specific issue)."}]}],"kind":"content"}],"relationshipsSections":[{"title":"Conforms To","kind":"relationships","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/APIProtocol","doc:\/\/DiscogsService\/s8SendableP","doc:\/\/DiscogsService\/s16SendableMetatypeP"],"type":"conformsTo"}],"topicSections":[{"title":"Initializers","anchor":"Initializers","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/init(serverURL:configuration:transport:middlewares:)"]},{"title":"Service endpoints","anchor":"Service-endpoints","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getService(_:)"]},{"title":"Authentication endpoints","anchor":"Authentication-endpoints","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getRequestToken(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/postAccessToken(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getUserIdentity(_:)"]},{"title":"Database endpoints","anchor":"Database-endpoints","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/searchDatabase(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getArtist(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getArtistReleases(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getLabel(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getLabelReleases(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getMaster(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getMasterVersions(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getRelease(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getReleaseRating(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getReleaseRatingByUser(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/putReleaseRatingByUser(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/deleteReleaseRatingByUser(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getReleaseStats(_:)"]},{"anchor":"User-Identity","title":"User Identity","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getUserProfile(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/postUserProfile(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getUserContributions(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getUserSubmissions(_:)"]},{"anchor":"User-Collection","title":"User Collection","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getCollectionFolders(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/postCollectionFolders(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getCollectionFolder(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/postCollectionFolder(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/deleteCollectionFolder(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getCollectionItemsByRelease(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getCollectionItemsByFolder(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/postReleaseToCollectionFolder(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/postChangeRatingOfRelease(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/deleteInstanceFromCollectionFolder(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getCustomFields(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/editFieldsInstance(_:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getCollectionValue(_:)"]},{"title":"Default Implementations","generated":true,"anchor":"Default-Implementations","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/APIProtocol-Implementations"]}],"identifier":{"url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService"]]},"metadata":{"navigatorTitle":[{"kind":"identifier","text":"Client"}],"roleHeading":"Structure","externalID":"s:14DiscogsService6ClientV","symbolKind":"struct","role":"symbol","modules":[{"name":"DiscogsService"}],"title":"Client","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Client","kind":"identifier"}]},"references":{"https://www.discogs.com/forum/topic/1082":{"type":"link","title":"API topic","titleInlineContent":[{"text":"API topic","type":"text"}],"identifier":"https:\/\/www.discogs.com\/forum\/topic\/1082","url":"https:\/\/www.discogs.com\/forum\/topic\/1082"},"https://www.discogs.com/settings/developers":{"title":"Developer Settings","type":"link","titleInlineContent":[{"type":"text","text":"Developer Settings"}],"identifier":"https:\/\/www.discogs.com\/settings\/developers","url":"https:\/\/www.discogs.com\/settings\/developers"},"doc://DiscogsService/documentation/DiscogsService/Client/deleteCollectionFolder(_:)":{"url":"\/documentation\/discogsservice\/client\/deletecollectionfolder(_:)","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/deleteCollectionFolder(_:)","abstract":[{"text":"Delete a collection folder from a collection of a user.","type":"text"}],"kind":"symbol","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"deleteCollectionFolder"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO22DeleteCollectionFolderO","kind":"typeIdentifier","text":"DeleteCollectionFolder"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO22DeleteCollectionFolderO5InputV","text":"Input"},{"kind":"text","text":") "},{"text":"async","kind":"keyword"},{"text":" ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"Operations","preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"DeleteCollectionFolder","preciseIdentifier":"s:14DiscogsService10OperationsO22DeleteCollectionFolderO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Output","preciseIdentifier":"s:14DiscogsService10OperationsO22DeleteCollectionFolderO6OutputO","kind":"typeIdentifier"}],"type":"topic","title":"deleteCollectionFolder(_:)"},"doc://DiscogsService/documentation/DiscogsService/Client/searchDatabase(_:)":{"url":"\/documentation\/discogsservice\/client\/searchdatabase(_:)","type":"topic","abstract":[{"text":"Search any information from the database.","type":"text"}],"kind":"symbol","title":"searchDatabase(_:)","role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/searchDatabase(_:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"searchDatabase"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO","text":"Operations"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO14SearchDatabaseO","text":"SearchDatabase"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO14SearchDatabaseO5InputV","text":"Input"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO","text":"Operations"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO14SearchDatabaseO","text":"SearchDatabase"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO14SearchDatabaseO6OutputO","text":"Output"}]},"https://policies.google.com/technologies/cookies":{"type":"link","identifier":"https:\/\/policies.google.com\/technologies\/cookies","title":"YouTube and Google’s cookie policy","titleInlineContent":[{"type":"text","text":"YouTube and Google’s cookie policy"}],"url":"https:\/\/policies.google.com\/technologies\/cookies"},"doc://DiscogsService/documentation/DiscogsService/Client/postAccessToken(_:)":{"url":"\/documentation\/discogsservice\/client\/postaccesstoken(_:)","type":"topic","abstract":[{"type":"text","text":"Provide required credentials data to obtain an access token."}],"kind":"symbol","title":"postAccessToken(_:)","role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/postAccessToken(_:)","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"postAccessToken"},{"kind":"text","text":"("},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO15PostAccessTokenO","kind":"typeIdentifier","text":"PostAccessToken"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO15PostAccessTokenO5InputV","kind":"typeIdentifier","text":"Input"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"text":"Operations","preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"PostAccessToken","preciseIdentifier":"s:14DiscogsService10OperationsO15PostAccessTokenO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Output","preciseIdentifier":"s:14DiscogsService10OperationsO15PostAccessTokenO6OutputO","kind":"typeIdentifier"}]},"doc://DiscogsService/documentation/DiscogsService/Client/getUserSubmissions(_:)":{"url":"\/documentation\/discogsservice\/client\/getusersubmissions(_:)","type":"topic","abstract":[{"text":"Get submissions of a user.","type":"text"}],"kind":"symbol","title":"getUserSubmissions(_:)","role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getUserSubmissions(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"getUserSubmissions"},{"kind":"text","text":"("},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO18GetUserSubmissionsO","kind":"typeIdentifier","text":"GetUserSubmissions"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO18GetUserSubmissionsO5InputV","kind":"typeIdentifier","text":"Input"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO18GetUserSubmissionsO","kind":"typeIdentifier","text":"GetUserSubmissions"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO18GetUserSubmissionsO6OutputO","kind":"typeIdentifier","text":"Output"}]},"doc://DiscogsService/documentation/DiscogsService/Client/editFieldsInstance(_:)":{"url":"\/documentation\/discogsservice\/client\/editfieldsinstance(_:)","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/editFieldsInstance(_:)","abstract":[{"type":"text","text":"Update a value of a custom field assigned to a release instance."}],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"editFieldsInstance"},{"kind":"text","text":"("},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO18EditFieldsInstanceO","kind":"typeIdentifier","text":"EditFieldsInstance"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO18EditFieldsInstanceO5InputV","kind":"typeIdentifier","text":"Input"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO18EditFieldsInstanceO","kind":"typeIdentifier","text":"EditFieldsInstance"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO18EditFieldsInstanceO6OutputO","kind":"typeIdentifier","text":"Output"}],"type":"topic","title":"editFieldsInstance(_:)"},"doc://DiscogsService/documentation/DiscogsService/Client/postCollectionFolder(_:)":{"url":"\/documentation\/discogsservice\/client\/postcollectionfolder(_:)","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/postCollectionFolder(_:)","abstract":[{"text":"Update information about a collection folder of a user.","type":"text"}],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"postCollectionFolder","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO20PostCollectionFolderO","kind":"typeIdentifier","text":"PostCollectionFolder"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO20PostCollectionFolderO5InputV","kind":"typeIdentifier","text":"Input"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"text":"PostCollectionFolder","preciseIdentifier":"s:14DiscogsService10OperationsO20PostCollectionFolderO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Output","preciseIdentifier":"s:14DiscogsService10OperationsO20PostCollectionFolderO6OutputO","kind":"typeIdentifier"}],"type":"topic","title":"postCollectionFolder(_:)"},"doc://DiscogsService/documentation/DiscogsService/Client/postReleaseToCollectionFolder(_:)":{"url":"\/documentation\/discogsservice\/client\/postreleasetocollectionfolder(_:)","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/postReleaseToCollectionFolder(_:)","abstract":[{"text":"Add a release to a collection folder of a user.","type":"text"}],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"postReleaseToCollectionFolder"},{"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:14DiscogsService10OperationsO29PostReleaseToCollectionFolderO5InputV","kind":"typeIdentifier","text":"Input"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"},{"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"}],"type":"topic","title":"postReleaseToCollectionFolder(_:)"},"doc://DiscogsService/documentation/DiscogsService/Client/postCollectionFolders(_:)":{"url":"\/documentation\/discogsservice\/client\/postcollectionfolders(_:)","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/postCollectionFolders(_:)","abstract":[{"text":"Create a new collection folder for a user.","type":"text"}],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"postCollectionFolders"},{"kind":"text","text":"("},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO21PostCollectionFoldersO","kind":"typeIdentifier","text":"PostCollectionFolders"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO21PostCollectionFoldersO5InputV","kind":"typeIdentifier","text":"Input"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO21PostCollectionFoldersO","kind":"typeIdentifier","text":"PostCollectionFolders"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO21PostCollectionFoldersO6OutputO","kind":"typeIdentifier","text":"Output"}],"type":"topic","title":"postCollectionFolders(_:)"},"doc://DiscogsService/documentation/DiscogsService/Client/getCollectionValue(_:)":{"url":"\/documentation\/discogsservice\/client\/getcollectionvalue(_:)","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getCollectionValue(_:)","abstract":[{"type":"text","text":"Get the estimated monetary value for a collection of a user."}],"kind":"symbol","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"getCollectionValue","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO18GetCollectionValueO","kind":"typeIdentifier","text":"GetCollectionValue"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO18GetCollectionValueO5InputV","kind":"typeIdentifier","text":"Input"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO18GetCollectionValueO","kind":"typeIdentifier","text":"GetCollectionValue"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO18GetCollectionValueO6OutputO","kind":"typeIdentifier","text":"Output"}],"title":"getCollectionValue(_:)","type":"topic"},"doc://DiscogsService/documentation/DiscogsService/Client/getLabelReleases(_:)":{"url":"\/documentation\/discogsservice\/client\/getlabelreleases(_:)","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getLabelReleases(_:)","abstract":[{"type":"text","text":"Get information about the releases of a label."}],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"getLabelReleases"},{"kind":"text","text":"("},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO16GetLabelReleasesO","kind":"typeIdentifier","text":"GetLabelReleases"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO16GetLabelReleasesO5InputV","kind":"typeIdentifier","text":"Input"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"text":" ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO16GetLabelReleasesO","kind":"typeIdentifier","text":"GetLabelReleases"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO16GetLabelReleasesO6OutputO","kind":"typeIdentifier","text":"Output"}],"type":"topic","title":"getLabelReleases(_:)"},"doc://DiscogsService/documentation/DiscogsService/Client/getCustomFields(_:)":{"url":"\/documentation\/discogsservice\/client\/getcustomfields(_:)","type":"topic","abstract":[{"text":"Get a list of custom fields defined by a user.","type":"text"}],"kind":"symbol","title":"getCustomFields(_:)","role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getCustomFields(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"getCustomFields"},{"kind":"text","text":"("},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO15GetCustomFieldsO","kind":"typeIdentifier","text":"GetCustomFields"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO15GetCustomFieldsO5InputV","kind":"typeIdentifier","text":"Input"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO15GetCustomFieldsO","kind":"typeIdentifier","text":"GetCustomFields"},{"kind":"text","text":"."},{"text":"Output","preciseIdentifier":"s:14DiscogsService10OperationsO15GetCustomFieldsO6OutputO","kind":"typeIdentifier"}]},"doc://DiscogsService/documentation/DiscogsService/Client/init(serverURL:configuration:transport:middlewares:)":{"url":"\/documentation\/discogsservice\/client\/init(serverurl:configuration:transport:middlewares:)","abstract":[{"type":"text","text":"Creates a new client."}],"kind":"symbol","type":"topic","title":"init(serverURL:configuration:transport:middlewares:)","role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/init(serverURL:configuration:transport:middlewares:)","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"serverURL"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation3URLV","kind":"typeIdentifier","text":"URL"},{"kind":"text","text":", "},{"kind":"externalParam","text":"configuration"},{"kind":"text","text":": "},{"preciseIdentifier":"s:14OpenAPIRuntime13ConfigurationV","kind":"typeIdentifier","text":"Configuration"},{"kind":"text","text":", "},{"kind":"externalParam","text":"transport"},{"kind":"text","text":": any "},{"preciseIdentifier":"s:14OpenAPIRuntime15ClientTransportP","kind":"typeIdentifier","text":"ClientTransport"},{"text":", ","kind":"text"},{"text":"middlewares","kind":"externalParam"},{"text":": [any ","kind":"text"},{"preciseIdentifier":"s:14OpenAPIRuntime16ClientMiddlewareP","kind":"typeIdentifier","text":"ClientMiddleware"},{"text":"])","kind":"text"}]},"doc://DiscogsService/documentation/DiscogsService/Client/postUserProfile(_:)":{"url":"\/documentation\/discogsservice\/client\/postuserprofile(_:)","type":"topic","abstract":[{"text":"Update information about a user.","type":"text"}],"kind":"symbol","title":"postUserProfile(_:)","role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/postUserProfile(_:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"postUserProfile","kind":"identifier"},{"text":"(","kind":"text"},{"text":"Operations","preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"PostUserProfile","preciseIdentifier":"s:14DiscogsService10OperationsO15PostUserProfileO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Input","preciseIdentifier":"s:14DiscogsService10OperationsO15PostUserProfileO5InputV","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"async","kind":"keyword"},{"text":" ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"Operations","preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"PostUserProfile","preciseIdentifier":"s:14DiscogsService10OperationsO15PostUserProfileO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Output","preciseIdentifier":"s:14DiscogsService10OperationsO15PostUserProfileO6OutputO","kind":"typeIdentifier"}]},"doc://DiscogsService/documentation/DiscogsService/Client/deleteReleaseRatingByUser(_:)":{"url":"\/documentation\/discogsservice\/client\/deletereleaseratingbyuser(_:)","type":"topic","abstract":[{"type":"text","text":"Delete information about a rating of release by a user."}],"kind":"symbol","title":"deleteReleaseRatingByUser(_:)","role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/deleteReleaseRatingByUser(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"deleteReleaseRatingByUser"},{"kind":"text","text":"("},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO25DeleteReleaseRatingByUserO","kind":"typeIdentifier","text":"DeleteReleaseRatingByUser"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO25DeleteReleaseRatingByUserO5InputV","kind":"typeIdentifier","text":"Input"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO25DeleteReleaseRatingByUserO","kind":"typeIdentifier","text":"DeleteReleaseRatingByUser"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO25DeleteReleaseRatingByUserO6OutputO","kind":"typeIdentifier","text":"Output"}]},"doc://DiscogsService/documentation/DiscogsService/Client/getReleaseRatingByUser(_:)":{"url":"\/documentation\/discogsservice\/client\/getreleaseratingbyuser(_:)","abstract":[{"text":"Get information about a rating of release by a user.","type":"text"}],"type":"topic","kind":"symbol","title":"getReleaseRatingByUser(_:)","role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getReleaseRatingByUser(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"getReleaseRatingByUser"},{"kind":"text","text":"("},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO22GetReleaseRatingByUserO","kind":"typeIdentifier","text":"GetReleaseRatingByUser"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO22GetReleaseRatingByUserO5InputV","kind":"typeIdentifier","text":"Input"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"text":"Operations","preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"GetReleaseRatingByUser","preciseIdentifier":"s:14DiscogsService10OperationsO22GetReleaseRatingByUserO","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"Output","preciseIdentifier":"s:14DiscogsService10OperationsO22GetReleaseRatingByUserO6OutputO","kind":"typeIdentifier"}]},"doc://DiscogsService/documentation/DiscogsService/Client/getRequestToken(_:)":{"url":"\/documentation\/discogsservice\/client\/getrequesttoken(_:)","abstract":[{"type":"text","text":"Get details about a OAuth request token."}],"kind":"symbol","type":"topic","title":"getRequestToken(_:)","role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getRequestToken(_:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getRequestToken","kind":"identifier"},{"text":"(","kind":"text"},{"text":"Operations","preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"GetRequestToken","preciseIdentifier":"s:14DiscogsService10OperationsO15GetRequestTokenO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Input","preciseIdentifier":"s:14DiscogsService10OperationsO15GetRequestTokenO5InputV","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"async","kind":"keyword"},{"text":" ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"Operations","preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"GetRequestToken","preciseIdentifier":"s:14DiscogsService10OperationsO15GetRequestTokenO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Output","preciseIdentifier":"s:14DiscogsService10OperationsO15GetRequestTokenO6OutputO","kind":"typeIdentifier"}]},"doc://DiscogsService/documentation/DiscogsService/Client/putReleaseRatingByUser(_:)":{"url":"\/documentation\/discogsservice\/client\/putreleaseratingbyuser(_:)","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/putReleaseRatingByUser(_:)","abstract":[{"text":"Update information about a rating of release by a user.","type":"text"}],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"putReleaseRatingByUser"},{"kind":"text","text":"("},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO22PutReleaseRatingByUserO","kind":"typeIdentifier","text":"PutReleaseRatingByUser"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO22PutReleaseRatingByUserO5InputV","kind":"typeIdentifier","text":"Input"},{"kind":"text","text":") "},{"text":"async","kind":"keyword"},{"text":" ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"Operations","preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO22PutReleaseRatingByUserO","kind":"typeIdentifier","text":"PutReleaseRatingByUser"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO22PutReleaseRatingByUserO6OutputO","kind":"typeIdentifier","text":"Output"}],"type":"topic","title":"putReleaseRatingByUser(_:)"},"doc://DiscogsService/documentation/DiscogsService/Client/deleteInstanceFromCollectionFolder(_:)":{"url":"\/documentation\/discogsservice\/client\/deleteinstancefromcollectionfolder(_:)","abstract":[{"type":"text","text":"Delete a specified release instance in a specified collection folder of a user."}],"kind":"symbol","type":"topic","title":"deleteInstanceFromCollectionFolder(_:)","role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/deleteInstanceFromCollectionFolder(_:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"deleteInstanceFromCollectionFolder","kind":"identifier"},{"text":"(","kind":"text"},{"text":"Operations","preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"DeleteInstanceFromCollectionFolder","preciseIdentifier":"s:14DiscogsService10OperationsO34DeleteInstanceFromCollectionFolderO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Input","preciseIdentifier":"s:14DiscogsService10OperationsO34DeleteInstanceFromCollectionFolderO5InputV","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"async","kind":"keyword"},{"text":" ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"Operations","preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"DeleteInstanceFromCollectionFolder","preciseIdentifier":"s:14DiscogsService10OperationsO34DeleteInstanceFromCollectionFolderO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Output","preciseIdentifier":"s:14DiscogsService10OperationsO34DeleteInstanceFromCollectionFolderO6OutputO","kind":"typeIdentifier"}]},"doc://DiscogsService/documentation/DiscogsService/Client/getUserProfile(_:)":{"url":"\/documentation\/discogsservice\/client\/getuserprofile(_:)","abstract":[{"type":"text","text":"Get information about a user."}],"kind":"symbol","type":"topic","title":"getUserProfile(_:)","role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getUserProfile(_:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getUserProfile","kind":"identifier"},{"text":"(","kind":"text"},{"text":"Operations","preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO14GetUserProfileO","kind":"typeIdentifier","text":"GetUserProfile"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO14GetUserProfileO5InputV","kind":"typeIdentifier","text":"Input"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"text":"Operations","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO"},{"text":".","kind":"text"},{"text":"GetUserProfile","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO14GetUserProfileO"},{"text":".","kind":"text"},{"text":"Output","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO14GetUserProfileO6OutputO"}]},"https://datatracker.ietf.org/doc/html/rfc1945#section-3.7":{"type":"link","title":"RFC 1945","url":"https:\/\/datatracker.ietf.org\/doc\/html\/rfc1945#section-3.7","titleInlineContent":[{"type":"text","text":"RFC 1945"}],"identifier":"https:\/\/datatracker.ietf.org\/doc\/html\/rfc1945#section-3.7"},"doc://DiscogsService/documentation/DiscogsService/APIProtocol":{"fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"APIProtocol","kind":"identifier"}],"title":"APIProtocol","abstract":[{"type":"text","text":"A type that performs HTTP operations defined by the OpenAPI document."}],"kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/APIProtocol","role":"symbol","navigatorTitle":[{"text":"APIProtocol","kind":"identifier"}],"type":"topic","url":"\/documentation\/discogsservice\/apiprotocol"},"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/Client/getLabel(_:)":{"url":"\/documentation\/discogsservice\/client\/getlabel(_:)","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getLabel(_:)","abstract":[{"type":"text","text":"Get information about a label"}],"kind":"symbol","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getLabel","kind":"identifier"},{"text":"(","kind":"text"},{"text":"Operations","preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO8GetLabelO","kind":"typeIdentifier","text":"GetLabel"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO8GetLabelO5InputV","kind":"typeIdentifier","text":"Input"},{"kind":"text","text":") "},{"text":"async","kind":"keyword"},{"text":" ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"Operations","preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO8GetLabelO","kind":"typeIdentifier","text":"GetLabel"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO8GetLabelO6OutputO","kind":"typeIdentifier","text":"Output"}],"title":"getLabel(_:)","type":"topic"},"doc://DiscogsService/documentation/DiscogsService/Client/getArtist(_:)":{"url":"\/documentation\/discogsservice\/client\/getartist(_:)","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getArtist(_:)","abstract":[{"type":"text","text":"Get information about an artist."}],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"getArtist"},{"kind":"text","text":"("},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO9GetArtistO","kind":"typeIdentifier","text":"GetArtist"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO9GetArtistO5InputV","kind":"typeIdentifier","text":"Input"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO9GetArtistO","kind":"typeIdentifier","text":"GetArtist"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO9GetArtistO6OutputO","kind":"typeIdentifier","text":"Output"}],"type":"topic","title":"getArtist(_:)"},"doc://DiscogsService/documentation/DiscogsService/Client/getCollectionItemsByRelease(_:)":{"url":"\/documentation\/discogsservice\/client\/getcollectionitemsbyrelease(_:)","abstract":[{"type":"text","text":"Get collection items of a user that contains a given release."}],"type":"topic","kind":"symbol","title":"getCollectionItemsByRelease(_:)","role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getCollectionItemsByRelease(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"getCollectionItemsByRelease"},{"kind":"text","text":"("},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO27GetCollectionItemsByReleaseO","kind":"typeIdentifier","text":"GetCollectionItemsByRelease"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO27GetCollectionItemsByReleaseO5InputV","kind":"typeIdentifier","text":"Input"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO27GetCollectionItemsByReleaseO","kind":"typeIdentifier","text":"GetCollectionItemsByRelease"},{"text":".","kind":"text"},{"text":"Output","preciseIdentifier":"s:14DiscogsService10OperationsO27GetCollectionItemsByReleaseO6OutputO","kind":"typeIdentifier"}]},"doc://DiscogsService/documentation/DiscogsService/Client":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Client"}],"title":"Client","abstract":[{"text":"The Discogs API v2.0 is a RESTful interface to Discogs data. You can access JSON-formatted information about Database objects such as ","type":"text"},{"inlineContent":[{"text":"Artists","type":"text"}],"type":"emphasis"},{"text":", ","type":"text"},{"inlineContent":[{"text":"Releases","type":"text"}],"type":"emphasis"},{"text":", and ","type":"text"},{"inlineContent":[{"text":"Labels","type":"text"}],"type":"emphasis"},{"text":". Your application can also manage ","type":"text"},{"inlineContent":[{"text":"User Collections","type":"text"}],"type":"emphasis"},{"text":" and ","type":"text"},{"inlineContent":[{"text":"Wantlists","type":"text"}],"type":"emphasis"},{"text":", create ","type":"text"},{"inlineContent":[{"text":"Marketplace","type":"text"}],"type":"emphasis"},{"text":" listings, and more.","type":"text"}],"kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Client"}],"type":"topic","url":"\/documentation\/discogsservice\/client"},"doc://DiscogsService/documentation/DiscogsService/Client/getCollectionItemsByFolder(_:)":{"url":"\/documentation\/discogsservice\/client\/getcollectionitemsbyfolder(_:)","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getCollectionItemsByFolder(_:)","abstract":[{"type":"text","text":"Get collection items of a user inside a specified folder."}],"kind":"symbol","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getCollectionItemsByFolder","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO","text":"Operations","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO26GetCollectionItemsByFolderO","text":"GetCollectionItemsByFolder","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Input","preciseIdentifier":"s:14DiscogsService10OperationsO26GetCollectionItemsByFolderO5InputV","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"async","kind":"keyword"},{"text":" ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO","text":"Operations","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO26GetCollectionItemsByFolderO","text":"GetCollectionItemsByFolder","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO26GetCollectionItemsByFolderO6OutputO","text":"Output","kind":"typeIdentifier"}],"title":"getCollectionItemsByFolder(_:)","type":"topic"},"doc://DiscogsService/documentation/DiscogsService/Client/getMaster(_:)":{"url":"\/documentation\/discogsservice\/client\/getmaster(_:)","abstract":[{"text":"Get information about a master release.","type":"text"}],"type":"topic","kind":"symbol","title":"getMaster(_:)","role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getMaster(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"getMaster"},{"kind":"text","text":"("},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO9GetMasterO","kind":"typeIdentifier","text":"GetMaster"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO9GetMasterO5InputV","kind":"typeIdentifier","text":"Input"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO9GetMasterO","kind":"typeIdentifier","text":"GetMaster"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO9GetMasterO6OutputO","kind":"typeIdentifier","text":"Output"}]},"https://www.discogs.com/forum/thread/521520689469733cfcfd2089":{"title":"API Announcements forum thread","type":"link","titleInlineContent":[{"type":"text","text":"API Announcements forum thread"}],"identifier":"https:\/\/www.discogs.com\/forum\/thread\/521520689469733cfcfd2089","url":"https:\/\/www.discogs.com\/forum\/thread\/521520689469733cfcfd2089"},"https://support.discogs.com/hc/en-us/articles/360009334593-API-Terms-of-Use":{"title":"API Terms of Use","type":"link","titleInlineContent":[{"type":"text","text":"API Terms of Use"}],"identifier":"https:\/\/support.discogs.com\/hc\/en-us\/articles\/360009334593-API-Terms-of-Use","url":"https:\/\/support.discogs.com\/hc\/en-us\/articles\/360009334593-API-Terms-of-Use"},"doc://DiscogsService/documentation/DiscogsService/Client/getUserContributions(_:)":{"url":"\/documentation\/discogsservice\/client\/getusercontributions(_:)","type":"topic","abstract":[{"text":"Get contributions of a user.","type":"text"}],"kind":"symbol","title":"getUserContributions(_:)","role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getUserContributions(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"getUserContributions","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO20GetUserContributionsO","kind":"typeIdentifier","text":"GetUserContributions"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO20GetUserContributionsO5InputV","kind":"typeIdentifier","text":"Input"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO","text":"Operations"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO20GetUserContributionsO","text":"GetUserContributions"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO20GetUserContributionsO6OutputO","text":"Output"}]},"https://www.discogs.com/developers/#page:authentication":{"type":"link","title":"authentication","titleInlineContent":[{"text":"authentication","type":"text"}],"identifier":"https:\/\/www.discogs.com\/developers\/#page:authentication","url":"https:\/\/www.discogs.com\/developers\/#page:authentication"},"doc://DiscogsService/documentation/DiscogsService/Client/getMasterVersions(_:)":{"type":"topic","title":"getMasterVersions(_:)","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getMasterVersions(_:)","url":"\/documentation\/discogsservice\/client\/getmasterversions(_:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getMasterVersions","kind":"identifier"},{"text":"(","kind":"text"},{"text":"Operations","preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO17GetMasterVersionsO","text":"GetMasterVersions"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO17GetMasterVersionsO5InputV","text":"Input"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO","text":"Operations"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO17GetMasterVersionsO","text":"GetMasterVersions"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO17GetMasterVersionsO6OutputO","text":"Output"}],"kind":"symbol","role":"symbol","abstract":[{"type":"text","text":"Get information about the versions of a master release."}]},"doc://DiscogsService/documentation/DiscogsService/Client/getRelease(_:)":{"url":"\/documentation\/discogsservice\/client\/getrelease(_:)","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getRelease(_:)","abstract":[{"type":"text","text":"Get information about a release"}],"kind":"symbol","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getRelease","kind":"identifier"},{"text":"(","kind":"text"},{"text":"Operations","preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"GetRelease","preciseIdentifier":"s:14DiscogsService10OperationsO10GetReleaseO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Input","preciseIdentifier":"s:14DiscogsService10OperationsO10GetReleaseO5InputV","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"async","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO10GetReleaseO","kind":"typeIdentifier","text":"GetRelease"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO10GetReleaseO6OutputO","kind":"typeIdentifier","text":"Output"}],"title":"getRelease(_:)","type":"topic"},"doc://DiscogsService/documentation/DiscogsService/Client/postChangeRatingOfRelease(_:)":{"url":"\/documentation\/discogsservice\/client\/postchangeratingofrelease(_:)","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/postChangeRatingOfRelease(_:)","abstract":[{"type":"text","text":"Update a rating for a specified release instance in a specified collection folder of a user."}],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"postChangeRatingOfRelease"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO","text":"Operations"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO25PostChangeRatingOfReleaseO","text":"PostChangeRatingOfRelease"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO25PostChangeRatingOfReleaseO5InputV","text":"Input"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO","text":"Operations"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO25PostChangeRatingOfReleaseO","text":"PostChangeRatingOfRelease"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO25PostChangeRatingOfReleaseO6OutputO","text":"Output"}],"title":"postChangeRatingOfRelease(_:)","type":"topic"},"doc://DiscogsService/s16SendableMetatypeP":{"type":"unresolvable","title":"Swift.SendableMetatype","identifier":"doc:\/\/DiscogsService\/s16SendableMetatypeP"},"doc://DiscogsService/documentation/DiscogsService/Client/getCollectionFolders(_:)":{"url":"\/documentation\/discogsservice\/client\/getcollectionfolders(_:)","type":"topic","abstract":[{"text":"Get all the collection folders of a user.","type":"text"}],"kind":"symbol","title":"getCollectionFolders(_:)","role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getCollectionFolders(_:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"getCollectionFolders"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO","text":"Operations"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO20GetCollectionFoldersO","text":"GetCollectionFolders"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO20GetCollectionFoldersO5InputV","text":"Input"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO","text":"Operations"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO20GetCollectionFoldersO","text":"GetCollectionFolders"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO20GetCollectionFoldersO6OutputO","text":"Output"}]},"doc://DiscogsService/s8SendableP":{"type":"unresolvable","title":"Swift.Sendable","identifier":"doc:\/\/DiscogsService\/s8SendableP"},"doc://DiscogsService/documentation/DiscogsService/Client/getArtistReleases(_:)":{"type":"topic","title":"getArtistReleases(_:)","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getArtistReleases(_:)","url":"\/documentation\/discogsservice\/client\/getartistreleases(_:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getArtistReleases","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO17GetArtistReleasesO","kind":"typeIdentifier","text":"GetArtistReleases"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO17GetArtistReleasesO5InputV","text":"Input"},{"kind":"text","text":") "},{"text":"async","kind":"keyword"},{"text":" ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO","text":"Operations"},{"kind":"text","text":"."},{"text":"GetArtistReleases","preciseIdentifier":"s:14DiscogsService10OperationsO17GetArtistReleasesO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO17GetArtistReleasesO6OutputO","kind":"typeIdentifier","text":"Output"}],"kind":"symbol","role":"symbol","abstract":[{"text":"Get information about releases of an artist.","type":"text"}]},"doc://DiscogsService/documentation/DiscogsService/Client/APIProtocol-Implementations":{"role":"collectionGroup","type":"topic","abstract":[],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/APIProtocol-Implementations","url":"\/documentation\/discogsservice\/client\/apiprotocol-implementations","title":"APIProtocol Implementations","kind":"article"},"doc://DiscogsService/documentation/DiscogsService/Client/getUserIdentity(_:)":{"role":"symbol","type":"topic","abstract":[{"text":"Get information about an authenticated user.","type":"text"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getUserIdentity(_:)","url":"\/documentation\/discogsservice\/client\/getuseridentity(_:)","title":"getUserIdentity(_:)","kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"getUserIdentity"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO","text":"Operations"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO15GetUserIdentityO","text":"GetUserIdentity"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO15GetUserIdentityO5InputV","text":"Input"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO","text":"Operations"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO15GetUserIdentityO","text":"GetUserIdentity"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO15GetUserIdentityO6OutputO","text":"Output"}]},"doc://DiscogsService/documentation/DiscogsService/Client/getService(_:)":{"role":"symbol","type":"topic","abstract":[{"text":"Get information about the service.","type":"text"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getService(_:)","url":"\/documentation\/discogsservice\/client\/getservice(_:)","title":"getService(_:)","kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"getService"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO","text":"Operations"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO03GetB0O","text":"GetService"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO03GetB0O5InputV","text":"Input"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO","text":"Operations"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO03GetB0O","text":"GetService"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10OperationsO03GetB0O6OutputO","text":"Output"}]},"https://www.discogs.com/developers/#page:images":{"type":"link","title":"Images documentation page","titleInlineContent":[{"text":"Images documentation page","type":"text"}],"identifier":"https:\/\/www.discogs.com\/developers\/#page:images","url":"https:\/\/www.discogs.com\/developers\/#page:images"},"doc://DiscogsService/documentation/DiscogsService/Client/getReleaseStats(_:)":{"url":"\/documentation\/discogsservice\/client\/getreleasestats(_:)","type":"topic","abstract":[{"text":"Get information about statistics of release.","type":"text"}],"kind":"symbol","title":"getReleaseStats(_:)","role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getReleaseStats(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"getReleaseStats"},{"kind":"text","text":"("},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO15GetReleaseStatsO","kind":"typeIdentifier","text":"GetReleaseStats"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO15GetReleaseStatsO5InputV","kind":"typeIdentifier","text":"Input"},{"text":") ","kind":"text"},{"text":"async","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO15GetReleaseStatsO","kind":"typeIdentifier","text":"GetReleaseStats"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO15GetReleaseStatsO6OutputO","kind":"typeIdentifier","text":"Output"}]},"doc://DiscogsService/documentation/DiscogsService/Client/getReleaseRating(_:)":{"url":"\/documentation\/discogsservice\/client\/getreleaserating(_:)","type":"topic","abstract":[{"type":"text","text":"Get information about a rating of release."}],"kind":"symbol","title":"getReleaseRating(_:)","role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getReleaseRating(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"getReleaseRating"},{"kind":"text","text":"("},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO16GetReleaseRatingO","kind":"typeIdentifier","text":"GetReleaseRating"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO16GetReleaseRatingO5InputV","kind":"typeIdentifier","text":"Input"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO16GetReleaseRatingO","kind":"typeIdentifier","text":"GetReleaseRating"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO16GetReleaseRatingO6OutputO","kind":"typeIdentifier","text":"Output"}]},"https://creativecommons.org/public-domain/cc0/":{"type":"link","identifier":"https:\/\/creativecommons.org\/public-domain\/cc0\/","title":"CC0 No Rights Reserved","titleInlineContent":[{"text":"CC0 No Rights Reserved","type":"text"}],"url":"https:\/\/creativecommons.org\/public-domain\/cc0\/"},"doc://DiscogsService/documentation/DiscogsService/Client/getCollectionFolder(_:)":{"role":"symbol","type":"topic","url":"\/documentation\/discogsservice\/client\/getcollectionfolder(_:)","abstract":[{"text":"Get information about a collection folder of a user.","type":"text"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Client\/getCollectionFolder(_:)","title":"getCollectionFolder(_:)","kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"getCollectionFolder"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO19GetCollectionFolderO","kind":"typeIdentifier","text":"GetCollectionFolder"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO19GetCollectionFolderO5InputV","kind":"typeIdentifier","text":"Input"},{"text":") ","kind":"text"},{"text":"async","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10OperationsO19GetCollectionFolderO","kind":"typeIdentifier","text":"GetCollectionFolder"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10OperationsO19GetCollectionFolderO6OutputO","kind":"typeIdentifier","text":"Output"}]}}} |