Files
discogs-service/docs/data/documentation/discogsservice/components/schemas/shipping/value2payload.json
T
javier a0672cc4af Implemented the Marketplace endpoints (#15)
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>
2025-11-10 00:34:18 +00:00

1 line
12 KiB
JSON

{"sections":[],"kind":"symbol","relationshipsSections":[{"kind":"relationships","identifiers":["doc:\/\/DiscogsService\/Se","doc:\/\/DiscogsService\/SE","doc:\/\/DiscogsService\/SQ","doc:\/\/DiscogsService\/SH","doc:\/\/DiscogsService\/s8SendableP","doc:\/\/DiscogsService\/s16SendableMetatypeP"],"type":"conformsTo","title":"Conforms To"}],"variants":[{"paths":["\/documentation\/discogsservice\/components\/schemas\/shipping\/value2payload"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Shipping\/Value2Payload","interfaceLanguage":"swift"},"metadata":{"title":"Components.Schemas.Shipping.Value2Payload","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Value2Payload"}],"role":"symbol","modules":[{"name":"DiscogsService"}],"navigatorTitle":[{"text":"Value2Payload","kind":"identifier"}],"symbolKind":"struct","externalID":"s:14DiscogsService10ComponentsO7SchemasO8ShippingV13Value2PayloadV","roleHeading":"Structure"},"topicSections":[{"anchor":"Initializers","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Shipping\/Value2Payload\/init(currency:method:value:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Shipping\/Value2Payload\/init(from:)"],"title":"Initializers","generated":true},{"anchor":"Instance-Properties","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Shipping\/Value2Payload\/currency","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Shipping\/Value2Payload\/method","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Shipping\/Value2Payload\/value"],"title":"Instance Properties","generated":true},{"anchor":"Enumerations","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Shipping\/Value2Payload\/CodingKeys"],"title":"Enumerations","generated":true},{"anchor":"Default-Implementations","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Shipping\/Value2Payload\/Equatable-Implementations"],"title":"Default Implementations","generated":true}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Value2Payload"}],"platforms":["macOS"]}]},{"kind":"content","content":[{"text":"Overview","type":"heading","level":2,"anchor":"overview"},{"type":"aside","style":"note","name":"Remark","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Generated from "},{"type":"codeVoice","code":"#\/components\/schemas\/Shipping\/value2"},{"type":"text","text":"."}]}]}]}],"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Shipping"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"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/Shipping/Value2Payload/currency":{"role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"currency","kind":"identifier"},{"text":": ","kind":"text"},{"text":"OpenAPIValueContainer","kind":"typeIdentifier","preciseIdentifier":"s:14OpenAPIRuntime0A17APIValueContainerV"},{"text":"?","kind":"text"}],"abstract":[{"type":"text","text":"A currency chosen by a buyer."}],"kind":"symbol","type":"topic","title":"currency","url":"\/documentation\/discogsservice\/components\/schemas\/shipping\/value2payload\/currency","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Shipping\/Value2Payload\/currency"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Shipping/Value2Payload/init(from:)":{"role":"symbol","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": any "},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[],"kind":"symbol","type":"topic","title":"init(from:)","url":"\/documentation\/discogsservice\/components\/schemas\/shipping\/value2payload\/init(from:)","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Shipping\/Value2Payload\/init(from:)"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Shipping/Value2Payload/method":{"role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"method","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"abstract":[{"type":"text","text":"A shipping method chosen by a buyer."}],"kind":"symbol","type":"topic","title":"method","url":"\/documentation\/discogsservice\/components\/schemas\/shipping\/value2payload\/method","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Shipping\/Value2Payload\/method"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Shipping":{"abstract":[{"text":"A type that represents a shipping costs.","type":"text"}],"kind":"symbol","type":"topic","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Shipping","title":"Components.Schemas.Shipping","url":"\/documentation\/discogsservice\/components\/schemas\/shipping","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Shipping"}],"role":"symbol","navigatorTitle":[{"text":"Shipping","kind":"identifier"}]},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Shipping/Value2Payload/init(currency:method:value:)":{"abstract":[{"type":"text","text":"Creates a new "},{"code":"Value2Payload","type":"codeVoice"},{"type":"text","text":"."}],"kind":"symbol","title":"init(currency:method:value:)","type":"topic","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Shipping\/Value2Payload\/init(currency:method:value:)","url":"\/documentation\/discogsservice\/components\/schemas\/shipping\/value2payload\/init(currency:method:value:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"currency","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"OpenAPIValueContainer","kind":"typeIdentifier","preciseIdentifier":"s:14OpenAPIRuntime0A17APIValueContainerV"},{"text":"?, ","kind":"text"},{"text":"method","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"value","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"OpenAPIValueContainer","kind":"typeIdentifier","preciseIdentifier":"s:14OpenAPIRuntime0A17APIValueContainerV"},{"text":"?)","kind":"text"}],"role":"symbol"},"doc://DiscogsService/Se":{"type":"unresolvable","title":"Swift.Decodable","identifier":"doc:\/\/DiscogsService\/Se"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Shipping/Value2Payload/CodingKeys":{"abstract":[],"kind":"symbol","type":"topic","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Shipping\/Value2Payload\/CodingKeys","title":"Components.Schemas.Shipping.Value2Payload.CodingKeys","url":"\/documentation\/discogsservice\/components\/schemas\/shipping\/value2payload\/codingkeys","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodingKeys"}],"role":"symbol","navigatorTitle":[{"kind":"identifier","text":"CodingKeys"}]},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Shipping/Value2Payload/value":{"role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"OpenAPIValueContainer","preciseIdentifier":"s:14OpenAPIRuntime0A17APIValueContainerV"},{"kind":"text","text":"?"}],"abstract":[{"text":"A shipping value to be paid by a buyer.","type":"text"}],"kind":"symbol","type":"topic","title":"value","url":"\/documentation\/discogsservice\/components\/schemas\/shipping\/value2payload\/value","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Shipping\/Value2Payload\/value"},"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":{"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/SH":{"type":"unresolvable","title":"Swift.Hashable","identifier":"doc:\/\/DiscogsService\/SH"},"doc://DiscogsService/SQ":{"type":"unresolvable","title":"Swift.Equatable","identifier":"doc:\/\/DiscogsService\/SQ"},"doc://DiscogsService/SE":{"type":"unresolvable","title":"Swift.Encodable","identifier":"doc:\/\/DiscogsService\/SE"},"doc://DiscogsService/s8SendableP":{"type":"unresolvable","title":"Swift.Sendable","identifier":"doc:\/\/DiscogsService\/s8SendableP"},"doc://DiscogsService/s16SendableMetatypeP":{"type":"unresolvable","title":"Swift.SendableMetatype","identifier":"doc:\/\/DiscogsService\/s16SendableMetatypeP"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Shipping/Value2Payload":{"abstract":[],"kind":"symbol","type":"topic","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Shipping\/Value2Payload","title":"Components.Schemas.Shipping.Value2Payload","url":"\/documentation\/discogsservice\/components\/schemas\/shipping\/value2payload","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Value2Payload"}],"role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Value2Payload"}]},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Shipping/Value2Payload/Equatable-Implementations":{"role":"collectionGroup","abstract":[],"kind":"article","type":"topic","title":"Equatable Implementations","url":"\/documentation\/discogsservice\/components\/schemas\/shipping\/value2payload\/equatable-implementations","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Shipping\/Value2Payload\/Equatable-Implementations"}}}