Files
discogs-service/docs/data/documentation/discogsservice/components/schemas/releaseversion/statspayload/init(community:).json
T
javier bfc9e67d38 Implemented the Authentication middleware (#3)
This PR contains the work done to implement the `AuthMiddleware` middleware, to authenticate the requests sent to the backend service, based on [their specifications](https://www.discogs.com/developers/#page:authentication).

In addition, some documentation has been added/updated and some boilerplate source code has been removed from the project.

Reviewed-on: #3
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2025-10-11 07:39:52 +00:00

1 line
8.8 KiB
JSON

{"abstract":[{"text":"Creates a new ","type":"text"},{"code":"statsPayload","type":"codeVoice"},{"text":".","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/discogsservice\/components\/schemas\/releaseversion\/statspayload\/init(community:)"]}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"community"},{"kind":"text","text":": "},{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components","preciseIdentifier":"s:14DiscogsService10ComponentsO","kind":"typeIdentifier","text":"Components"},{"kind":"text","text":"."},{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO","kind":"typeIdentifier","text":"Schemas"},{"kind":"text","text":"."},{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/ReleaseVersion","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO14ReleaseVersionV","kind":"typeIdentifier","text":"ReleaseVersion"},{"kind":"text","text":"."},{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/ReleaseVersion\/statsPayload","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO14ReleaseVersionV12statsPayloadV","kind":"typeIdentifier","text":"statsPayload"},{"kind":"text","text":"."},{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/ReleaseVersion\/statsPayload\/communityPayload","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO14ReleaseVersionV12statsPayloadV09communityH0V","kind":"typeIdentifier","text":"communityPayload"},{"kind":"text","text":"? = nil)"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"},{"parameters":[{"name":"community","content":[{"inlineContent":[{"type":"text","text":"A type that represents the relationship between users and a release version."}],"type":"paragraph"}]}],"kind":"parameters"}],"schemaVersion":{"minor":3,"major":0,"patch":0},"metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"community"},{"kind":"text","text":": "},{"preciseIdentifier":"s:14DiscogsService10ComponentsO","kind":"typeIdentifier","text":"Components"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO","kind":"typeIdentifier","text":"Schemas"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO14ReleaseVersionV","kind":"typeIdentifier","text":"ReleaseVersion"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO14ReleaseVersionV12statsPayloadV","kind":"typeIdentifier","text":"statsPayload"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO14ReleaseVersionV12statsPayloadV09communityH0V","kind":"typeIdentifier","text":"communityPayload"},{"kind":"text","text":"?)"}],"symbolKind":"init","modules":[{"name":"DiscogsService"}],"title":"init(community:)","role":"symbol","roleHeading":"Initializer","externalID":"s:14DiscogsService10ComponentsO7SchemasO14ReleaseVersionV12statsPayloadV9communityA2I0iH0VSg_tcfc"},"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/ReleaseVersion","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/ReleaseVersion\/statsPayload"]]},"identifier":{"url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/ReleaseVersion\/statsPayload\/init(community:)","interfaceLanguage":"swift"},"kind":"symbol","sections":[],"references":{"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/ReleaseVersion/statsPayload":{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/ReleaseVersion\/statsPayload","role":"symbol","navigatorTitle":[{"text":"statsPayload","kind":"identifier"}],"type":"topic","url":"\/documentation\/discogsservice\/components\/schemas\/releaseversion\/statspayload","abstract":[{"text":"A type contains statictics about a release version.","type":"text"}],"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"statsPayload","kind":"identifier"}],"title":"Components.Schemas.ReleaseVersion.statsPayload","kind":"symbol"},"doc://DiscogsService/documentation/DiscogsService":{"role":"collection","title":"DiscogsService","kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService","abstract":[],"type":"topic","url":"\/documentation\/discogsservice"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/ReleaseVersion":{"kind":"symbol","role":"symbol","url":"\/documentation\/discogsservice\/components\/schemas\/releaseversion","navigatorTitle":[{"text":"ReleaseVersion","kind":"identifier"}],"title":"Components.Schemas.ReleaseVersion","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ReleaseVersion","kind":"identifier"}],"abstract":[{"type":"text","text":"A type that represents a version of a release."}],"type":"topic","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/ReleaseVersion"},"doc://DiscogsService/documentation/DiscogsService/Components":{"title":"Components","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components","navigatorTitle":[{"text":"Components","kind":"identifier"}],"abstract":[{"type":"text","text":"Types generated from the components section of the OpenAPI document."}],"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Components","kind":"identifier"}],"role":"symbol","url":"\/documentation\/discogsservice\/components","kind":"symbol"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/ReleaseVersion/statsPayload/communityPayload":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"communityPayload","kind":"identifier"}],"role":"symbol","navigatorTitle":[{"text":"communityPayload","kind":"identifier"}],"title":"Components.Schemas.ReleaseVersion.statsPayload.communityPayload","abstract":[{"type":"text","text":"A type that represents the relationship between users and a release version."}],"kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/ReleaseVersion\/statsPayload\/communityPayload","type":"topic","url":"\/documentation\/discogsservice\/components\/schemas\/releaseversion\/statspayload\/communitypayload"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/ReleaseVersion/statsPayload/init(community:)":{"fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"community","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Components","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO"},{"text":".","kind":"text"},{"text":"Schemas","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO"},{"text":".","kind":"text"},{"text":"ReleaseVersion","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO14ReleaseVersionV"},{"text":".","kind":"text"},{"text":"statsPayload","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO14ReleaseVersionV12statsPayloadV"},{"text":".","kind":"text"},{"text":"communityPayload","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO14ReleaseVersionV12statsPayloadV09communityH0V"},{"text":"?)","kind":"text"}],"role":"symbol","title":"init(community:)","abstract":[{"type":"text","text":"Creates a new "},{"type":"codeVoice","code":"statsPayload"},{"type":"text","text":"."}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/ReleaseVersion\/statsPayload\/init(community:)","kind":"symbol","type":"topic","url":"\/documentation\/discogsservice\/components\/schemas\/releaseversion\/statspayload\/init(community:)"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas":{"role":"symbol","type":"topic","abstract":[{"type":"text","text":"Types generated from the "},{"code":"#\/components\/schemas","type":"codeVoice"},{"text":" section of the OpenAPI document.","type":"text"}],"kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas","url":"\/documentation\/discogsservice\/components\/schemas","navigatorTitle":[{"text":"Schemas","kind":"identifier"}],"title":"Components.Schemas","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Schemas","kind":"identifier"}]}}}