a0672cc4af
This PR contains the work done to implement the *Marketplace* endpoints for the **Discogs API** backend service, which include the following endpoints:
* GET `/users/{username}/inventory` endpoint
* GET `/marketplace/listings/{listing_id}` endpoint
* DELETE `/marketplace/listings/{listing_id}` endpoint
* POST `/marketplace/listings/{listing_id}` endpoint
* POST `/marketplace/listings` endpoint
* GET `/marketplace/orders` endpoint
* GET `/marketplace/orders/{order_id}` endpoint
* GET `/marketplace/orders/{order_id}/messages` endpoint
* POST `/marketplace/orders/{order_id}/messages` endpoint
* GET `/marketplace/fee/{price}` endpoint
* GET `/marketplace/fee/{price}/{currency}` endpoint
* GET `/marketplace/price_suggestions/{release_id}` endpoint
* GET `/marketplace/stats/{release_id}` endpoint
Reviewed-on: #15
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
1 line
13 KiB
JSON
1 line
13 KiB
JSON
{"sections":[],"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/PriceFormatted"]]},"metadata":{"navigatorTitle":[{"text":"CodingKeys","kind":"identifier"}],"role":"symbol","externalID":"s:14DiscogsService10ComponentsO7SchemasO14PriceFormattedV10CodingKeysO","symbolKind":"enum","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"CodingKeys","kind":"identifier"}],"roleHeading":"Enumeration","title":"Components.Schemas.PriceFormatted.CodingKeys","modules":[{"name":"DiscogsService"}]},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"CodingKeys","kind":"identifier"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","identifier":{"url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/PriceFormatted\/CodingKeys","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/discogsservice\/components\/schemas\/priceformatted\/codingkeys"],"traits":[{"interfaceLanguage":"swift"}]}],"topicSections":[{"anchor":"Enumeration-Cases","title":"Enumeration Cases","generated":true,"identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/PriceFormatted\/CodingKeys\/currAbbr","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/PriceFormatted\/CodingKeys\/currId","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/PriceFormatted\/CodingKeys\/formatted","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/PriceFormatted\/CodingKeys\/value"]},{"anchor":"Initializers","title":"Initializers","generated":true,"identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/PriceFormatted\/CodingKeys\/init(intValue:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/PriceFormatted\/CodingKeys\/init(rawValue:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/PriceFormatted\/CodingKeys\/init(stringValue:)"]},{"anchor":"Default-Implementations","title":"Default Implementations","generated":true,"identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/PriceFormatted\/CodingKeys\/CodingKey-Implementations","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/PriceFormatted\/CodingKeys\/Equatable-Implementations","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/PriceFormatted\/CodingKeys\/RawRepresentable-Implementations"]}],"relationshipsSections":[{"identifiers":["doc:\/\/DiscogsService\/s9CodingKeyP","doc:\/\/DiscogsService\/s28CustomDebugStringConvertibleP","doc:\/\/DiscogsService\/s23CustomStringConvertibleP","doc:\/\/DiscogsService\/SQ","doc:\/\/DiscogsService\/SH","doc:\/\/DiscogsService\/SY","doc:\/\/DiscogsService\/s8SendableP","doc:\/\/DiscogsService\/s16SendableMetatypeP"],"type":"conformsTo","title":"Conforms To","kind":"relationships"}],"references":{"doc://DiscogsService/SY":{"identifier":"doc:\/\/DiscogsService\/SY","type":"unresolvable","title":"Swift.RawRepresentable"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/PriceFormatted/CodingKeys":{"abstract":[],"kind":"symbol","type":"topic","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/PriceFormatted\/CodingKeys","title":"Components.Schemas.PriceFormatted.CodingKeys","url":"\/documentation\/discogsservice\/components\/schemas\/priceformatted\/codingkeys","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"CodingKeys","kind":"identifier"}],"role":"symbol","navigatorTitle":[{"text":"CodingKeys","kind":"identifier"}]},"doc://DiscogsService/s16SendableMetatypeP":{"identifier":"doc:\/\/DiscogsService\/s16SendableMetatypeP","type":"unresolvable","title":"Swift.SendableMetatype"},"doc://DiscogsService/documentation/DiscogsService":{"title":"DiscogsService","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService","url":"\/documentation\/discogsservice","abstract":[],"role":"collection","kind":"symbol","type":"topic"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/PriceFormatted/CodingKeys/CodingKey-Implementations":{"role":"collectionGroup","type":"topic","abstract":[],"kind":"article","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/PriceFormatted\/CodingKeys\/CodingKey-Implementations","title":"CodingKey Implementations","url":"\/documentation\/discogsservice\/components\/schemas\/priceformatted\/codingkeys\/codingkey-implementations"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/PriceFormatted/CodingKeys/formatted":{"type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"formatted"}],"title":"Components.Schemas.PriceFormatted.CodingKeys.formatted","url":"\/documentation\/discogsservice\/components\/schemas\/priceformatted\/codingkeys\/formatted","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/PriceFormatted\/CodingKeys\/formatted","abstract":[],"kind":"symbol"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/PriceFormatted/CodingKeys/init(rawValue:)":{"url":"\/documentation\/discogsservice\/components\/schemas\/priceformatted\/codingkeys\/init(rawvalue:)","title":"init(rawValue:)","role":"symbol","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"rawValue"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/PriceFormatted\/CodingKeys\/init(rawValue:)","kind":"symbol","abstract":[],"type":"topic"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/PriceFormatted/CodingKeys/init(stringValue:)":{"role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"?(","kind":"text"},{"text":"stringValue","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"abstract":[],"kind":"symbol","type":"topic","title":"init(stringValue:)","url":"\/documentation\/discogsservice\/components\/schemas\/priceformatted\/codingkeys\/init(stringvalue:)","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/PriceFormatted\/CodingKeys\/init(stringValue:)"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas":{"url":"\/documentation\/discogsservice\/components\/schemas","title":"Components.Schemas","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Schemas"}],"navigatorTitle":[{"kind":"identifier","text":"Schemas"}],"kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas","abstract":[{"text":"Types generated from the ","type":"text"},{"code":"#\/components\/schemas","type":"codeVoice"},{"text":" section of the OpenAPI document.","type":"text"}],"type":"topic"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/PriceFormatted/CodingKeys/RawRepresentable-Implementations":{"role":"collectionGroup","type":"topic","abstract":[],"kind":"article","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/PriceFormatted\/CodingKeys\/RawRepresentable-Implementations","title":"RawRepresentable Implementations","url":"\/documentation\/discogsservice\/components\/schemas\/priceformatted\/codingkeys\/rawrepresentable-implementations"},"doc://DiscogsService/s8SendableP":{"identifier":"doc:\/\/DiscogsService\/s8SendableP","type":"unresolvable","title":"Swift.Sendable"},"doc://DiscogsService/SQ":{"identifier":"doc:\/\/DiscogsService\/SQ","type":"unresolvable","title":"Swift.Equatable"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/PriceFormatted":{"url":"\/documentation\/discogsservice\/components\/schemas\/priceformatted","title":"Components.Schemas.PriceFormatted","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PriceFormatted","kind":"identifier"}],"navigatorTitle":[{"text":"PriceFormatted","kind":"identifier"}],"kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/PriceFormatted","abstract":[{"text":"A type that represents a formatted price.","type":"text"}],"type":"topic"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/PriceFormatted/CodingKeys/currId":{"role":"symbol","type":"topic","abstract":[],"kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/PriceFormatted\/CodingKeys\/currId","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"currId","kind":"identifier"}],"title":"Components.Schemas.PriceFormatted.CodingKeys.currId","url":"\/documentation\/discogsservice\/components\/schemas\/priceformatted\/codingkeys\/currid"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/PriceFormatted/CodingKeys/value":{"role":"symbol","type":"topic","abstract":[],"kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/PriceFormatted\/CodingKeys\/value","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"value","kind":"identifier"}],"title":"Components.Schemas.PriceFormatted.CodingKeys.value","url":"\/documentation\/discogsservice\/components\/schemas\/priceformatted\/codingkeys\/value"},"doc://DiscogsService/s28CustomDebugStringConvertibleP":{"identifier":"doc:\/\/DiscogsService\/s28CustomDebugStringConvertibleP","type":"unresolvable","title":"Swift.CustomDebugStringConvertible"},"doc://DiscogsService/SH":{"identifier":"doc:\/\/DiscogsService\/SH","type":"unresolvable","title":"Swift.Hashable"},"doc://DiscogsService/s9CodingKeyP":{"identifier":"doc:\/\/DiscogsService\/s9CodingKeyP","type":"unresolvable","title":"Swift.CodingKey"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/PriceFormatted/CodingKeys/init(intValue:)":{"role":"symbol","type":"topic","abstract":[],"kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/PriceFormatted\/CodingKeys\/init(intValue:)","fragments":[{"text":"init","kind":"identifier"},{"text":"?(","kind":"text"},{"text":"intValue","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"},{"text":")","kind":"text"}],"title":"init(intValue:)","url":"\/documentation\/discogsservice\/components\/schemas\/priceformatted\/codingkeys\/init(intvalue:)"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/PriceFormatted/CodingKeys/Equatable-Implementations":{"role":"collectionGroup","type":"topic","abstract":[],"kind":"article","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/PriceFormatted\/CodingKeys\/Equatable-Implementations","title":"Equatable Implementations","url":"\/documentation\/discogsservice\/components\/schemas\/priceformatted\/codingkeys\/equatable-implementations"},"doc://DiscogsService/documentation/DiscogsService/Components":{"type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Components"}],"navigatorTitle":[{"text":"Components","kind":"identifier"}],"title":"Components","url":"\/documentation\/discogsservice\/components","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components","abstract":[{"text":"Types generated from the components section of the OpenAPI document.","type":"text"}],"kind":"symbol"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/PriceFormatted/CodingKeys/currAbbr":{"abstract":[],"kind":"symbol","type":"topic","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/PriceFormatted\/CodingKeys\/currAbbr","title":"Components.Schemas.PriceFormatted.CodingKeys.currAbbr","url":"\/documentation\/discogsservice\/components\/schemas\/priceformatted\/codingkeys\/currabbr","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"currAbbr","kind":"identifier"}],"role":"symbol"},"doc://DiscogsService/s23CustomStringConvertibleP":{"identifier":"doc:\/\/DiscogsService\/s23CustomStringConvertibleP","type":"unresolvable","title":"Swift.CustomStringConvertible"}}} |