Files
discogs-service/docs/data/documentation/discogsservice/operations/getusercontributions/input/query-swift.struct.json
T
javier f3d5c0e6ac Implemented the User Wantlist endpoints (#13)
This PR contains the work done to implement the *User Wantlist* endpoints of the *Discogs API* online service in the `Open API` specification document:

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

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

1 line
12 KiB
JSON

{"metadata":{"navigatorTitle":[{"text":"Query","kind":"identifier"}],"title":"Operations.GetUserContributions.Input.Query","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Query"}],"externalID":"s:14DiscogsService10OperationsO20GetUserContributionsO5InputV5QueryV","modules":[{"name":"DiscogsService"}],"role":"symbol","symbolKind":"struct","roleHeading":"Structure"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/discogsservice\/operations\/getusercontributions\/input\/query-swift.struct"]}],"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetUserContributions","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetUserContributions\/Input"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetUserContributions\/Input\/Query-swift.struct\/init(sort:sortOrder:)"],"anchor":"Initializers","generated":true},{"title":"Instance Properties","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetUserContributions\/Input\/Query-swift.struct\/sort","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetUserContributions\/Input\/Query-swift.struct\/sortOrder-swift.property"],"anchor":"Instance-Properties","generated":true},{"title":"Enumerations","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetUserContributions\/Input\/Query-swift.struct\/SortField","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetUserContributions\/Input\/Query-swift.struct\/SortOrder-swift.enum"],"anchor":"Enumerations","generated":true},{"title":"Default Implementations","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetUserContributions\/Input\/Query-swift.struct\/Equatable-Implementations"],"anchor":"Default-Implementations","generated":true}],"schemaVersion":{"minor":3,"major":0,"patch":0},"relationshipsSections":[{"title":"Conforms To","identifiers":["doc:\/\/DiscogsService\/SQ","doc:\/\/DiscogsService\/SH","doc:\/\/DiscogsService\/s8SendableP","doc:\/\/DiscogsService\/s16SendableMetatypeP"],"type":"conformsTo","kind":"relationships"}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Query"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"},{"content":[{"level":2,"type":"heading","text":"Overview","anchor":"overview"},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Generated from "},{"type":"codeVoice","code":"#\/paths\/users\/{username}\/contributions\/GET\/query"},{"type":"text","text":"."}]}],"type":"aside","style":"note","name":"Remark"}],"kind":"content"}],"identifier":{"url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetUserContributions\/Input\/Query-swift.struct","interfaceLanguage":"swift"},"sections":[],"kind":"symbol","references":{"doc://DiscogsService/documentation/DiscogsService":{"title":"DiscogsService","type":"topic","url":"\/documentation\/discogsservice","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService","abstract":[],"kind":"symbol","role":"collection"},"doc://DiscogsService/documentation/DiscogsService/Operations":{"abstract":[{"type":"text","text":"API operations, with input and output types, generated from "},{"type":"codeVoice","code":"#\/paths"},{"text":" in the OpenAPI document.","type":"text"}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations","url":"\/documentation\/discogsservice\/operations","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Operations","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Operations"}],"type":"topic","title":"Operations"},"doc://DiscogsService/s8SendableP":{"identifier":"doc:\/\/DiscogsService\/s8SendableP","type":"unresolvable","title":"Swift.Sendable"},"doc://DiscogsService/documentation/DiscogsService/Operations/GetUserContributions/Input/Query-swift.struct/SortOrder-swift.enum":{"role":"symbol","navigatorTitle":[{"kind":"identifier","text":"SortOrder"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"SortOrder"}],"abstract":[],"url":"\/documentation\/discogsservice\/operations\/getusercontributions\/input\/query-swift.struct\/sortorder-swift.enum","title":"Operations.GetUserContributions.Input.Query.SortOrder","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetUserContributions\/Input\/Query-swift.struct\/SortOrder-swift.enum","type":"topic","kind":"symbol"},"doc://DiscogsService/documentation/DiscogsService/Operations/GetUserContributions/Input/Query-swift.struct/sortOrder-swift.property":{"type":"topic","abstract":[{"type":"text","text":"The order to sort the results."}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"sortOrder","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10ComponentsO","text":"Components","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10ComponentsO10ParametersO","text":"Parameters","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10ComponentsO10ParametersO9SortOrderO","text":"SortOrder","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetUserContributions\/Input\/Query-swift.struct\/sortOrder-swift.property","kind":"symbol","title":"sortOrder","role":"symbol","url":"\/documentation\/discogsservice\/operations\/getusercontributions\/input\/query-swift.struct\/sortorder-swift.property"},"doc://DiscogsService/documentation/DiscogsService/Operations/GetUserContributions/Input/Query-swift.struct":{"role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Query"}],"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Query"}],"abstract":[],"url":"\/documentation\/discogsservice\/operations\/getusercontributions\/input\/query-swift.struct","title":"Operations.GetUserContributions.Input.Query","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetUserContributions\/Input\/Query-swift.struct","type":"topic","kind":"symbol"},"doc://DiscogsService/documentation/DiscogsService/Operations/GetUserContributions":{"url":"\/documentation\/discogsservice\/operations\/getusercontributions","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"GetUserContributions","kind":"identifier"}],"type":"topic","title":"Operations.GetUserContributions","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetUserContributions","abstract":[{"text":"Get contributions of a user.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"GetUserContributions"}],"kind":"symbol"},"doc://DiscogsService/documentation/DiscogsService/Operations/GetUserContributions/Input/Query-swift.struct/SortField":{"abstract":[],"kind":"symbol","role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetUserContributions\/Input\/Query-swift.struct\/SortField","url":"\/documentation\/discogsservice\/operations\/getusercontributions\/input\/query-swift.struct\/sortfield","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"SortField"}],"navigatorTitle":[{"kind":"identifier","text":"SortField"}],"type":"topic","title":"Operations.GetUserContributions.Input.Query.SortField"},"doc://DiscogsService/documentation/DiscogsService/Operations/GetUserContributions/Input":{"role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Input"}],"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Input"}],"abstract":[],"url":"\/documentation\/discogsservice\/operations\/getusercontributions\/input","title":"Operations.GetUserContributions.Input","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetUserContributions\/Input","type":"topic","kind":"symbol"},"doc://DiscogsService/SH":{"identifier":"doc:\/\/DiscogsService\/SH","type":"unresolvable","title":"Swift.Hashable"},"doc://DiscogsService/documentation/DiscogsService/Operations/GetUserContributions/Input/Query-swift.struct/Equatable-Implementations":{"url":"\/documentation\/discogsservice\/operations\/getusercontributions\/input\/query-swift.struct\/equatable-implementations","abstract":[],"title":"Equatable Implementations","type":"topic","role":"collectionGroup","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetUserContributions\/Input\/Query-swift.struct\/Equatable-Implementations","kind":"article"},"doc://DiscogsService/documentation/DiscogsService/Operations/GetUserContributions/Input/Query-swift.struct/init(sort:sortOrder:)":{"title":"init(sort:sortOrder:)","url":"\/documentation\/discogsservice\/operations\/getusercontributions\/input\/query-swift.struct\/init(sort:sortorder:)","kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetUserContributions\/Input\/Query-swift.struct\/init(sort:sortOrder:)","abstract":[{"text":"Creates a new ","type":"text"},{"code":"Query","type":"codeVoice"},{"text":".","type":"text"}],"role":"symbol","type":"topic","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"sort","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10ComponentsO","text":"Components","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10ComponentsO10ParametersO","kind":"typeIdentifier","text":"Parameters"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10ComponentsO10ParametersO9SortFieldO","text":"SortField","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"sortOrder","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10ComponentsO","text":"Components","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Parameters","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO10ParametersO"},{"text":".","kind":"text"},{"text":"SortOrder","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO10ParametersO9SortOrderO"},{"text":"?)","kind":"text"}]},"doc://DiscogsService/s16SendableMetatypeP":{"identifier":"doc:\/\/DiscogsService\/s16SendableMetatypeP","type":"unresolvable","title":"Swift.SendableMetatype"},"doc://DiscogsService/SQ":{"identifier":"doc:\/\/DiscogsService\/SQ","type":"unresolvable","title":"Swift.Equatable"},"doc://DiscogsService/documentation/DiscogsService/Operations/GetUserContributions/Input/Query-swift.struct/sort":{"url":"\/documentation\/discogsservice\/operations\/getusercontributions\/input\/query-swift.struct\/sort","abstract":[{"type":"text","text":"A filter by field."}],"title":"sort","type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"sort"},{"kind":"text","text":": "},{"preciseIdentifier":"s:14DiscogsService10ComponentsO","kind":"typeIdentifier","text":"Components"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10ComponentsO10ParametersO","kind":"typeIdentifier","text":"Parameters"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10ComponentsO10ParametersO9SortFieldO","kind":"typeIdentifier","text":"SortField"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/GetUserContributions\/Input\/Query-swift.struct\/sort","role":"symbol"}}}