9a30b69561
This PR contains the work done to implement the *Authentication* endpoints of the Discogs API: * GET `/oauth/request_token` * POST `/oauth/access_token` * GET `/oauth/identity` Reviewed-on: #9 Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
1 line
8.8 KiB
JSON
1 line
8.8 KiB
JSON
{"kind":"symbol","schemaVersion":{"minor":3,"major":0,"patch":0},"metadata":{"title":"init(community:)","modules":[{"name":"DiscogsService"}],"role":"symbol","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":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO14ReleaseVersionV","text":"ReleaseVersion"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO14ReleaseVersionV12StatsPayloadV","kind":"typeIdentifier","text":"StatsPayload"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO14ReleaseVersionV12StatsPayloadV09CommunityH0V","text":"CommunityPayload"},{"kind":"text","text":"?)"}],"symbolKind":"init","roleHeading":"Initializer","externalID":"s:14DiscogsService10ComponentsO7SchemasO14ReleaseVersionV12StatsPayloadV9communityA2I09CommunityH0VSg_tcfc"},"sections":[],"variants":[{"paths":["\/documentation\/discogsservice\/components\/schemas\/releaseversion\/statspayload\/init(community:)"],"traits":[{"interfaceLanguage":"swift"}]}],"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"]]},"abstract":[{"type":"text","text":"Creates a new "},{"type":"codeVoice","code":"StatsPayload"},{"type":"text","text":"."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"text":"community","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Components","kind":"typeIdentifier","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components","preciseIdentifier":"s:14DiscogsService10ComponentsO"},{"text":".","kind":"text"},{"text":"Schemas","kind":"typeIdentifier","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO"},{"text":".","kind":"text"},{"text":"ReleaseVersion","kind":"typeIdentifier","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/ReleaseVersion","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO14ReleaseVersionV"},{"text":".","kind":"text"},{"text":"StatsPayload","kind":"typeIdentifier","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/ReleaseVersion\/StatsPayload","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO14ReleaseVersionV12StatsPayloadV"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO14ReleaseVersionV12StatsPayloadV09CommunityH0V","kind":"typeIdentifier","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/ReleaseVersion\/StatsPayload\/CommunityPayload","text":"CommunityPayload"},{"kind":"text","text":"? = nil)"}],"platforms":["macOS"],"languages":["swift"]}]},{"kind":"parameters","parameters":[{"content":[{"inlineContent":[{"type":"text","text":"A type that represents the relationship between users and a release version."}],"type":"paragraph"}],"name":"community"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/ReleaseVersion\/StatsPayload\/init(community:)"},"references":{"doc://DiscogsService/documentation/DiscogsService/Components/Schemas":{"url":"\/documentation\/discogsservice\/components\/schemas","type":"topic","kind":"symbol","title":"Components.Schemas","abstract":[{"text":"Types generated from the ","type":"text"},{"type":"codeVoice","code":"#\/components\/schemas"},{"type":"text","text":" section of the OpenAPI document."}],"role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas","navigatorTitle":[{"kind":"identifier","text":"Schemas"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"Schemas","kind":"identifier"}]},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/ReleaseVersion/StatsPayload/init(community:)":{"title":"init(community:)","abstract":[{"text":"Creates a new ","type":"text"},{"type":"codeVoice","code":"StatsPayload"},{"text":".","type":"text"}],"role":"symbol","type":"topic","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"community","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10ComponentsO","text":"Components","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO","text":"Schemas","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO14ReleaseVersionV","text":"ReleaseVersion","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO14ReleaseVersionV12StatsPayloadV","text":"StatsPayload","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO14ReleaseVersionV12StatsPayloadV09CommunityH0V","text":"CommunityPayload","kind":"typeIdentifier"},{"text":"?)","kind":"text"}],"kind":"symbol","url":"\/documentation\/discogsservice\/components\/schemas\/releaseversion\/statspayload\/init(community:)","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/ReleaseVersion\/StatsPayload\/init(community:)"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/ReleaseVersion":{"type":"topic","url":"\/documentation\/discogsservice\/components\/schemas\/releaseversion","kind":"symbol","title":"Components.Schemas.ReleaseVersion","abstract":[{"text":"A type that represents a version of a release.","type":"text"}],"role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/ReleaseVersion","navigatorTitle":[{"kind":"identifier","text":"ReleaseVersion"}],"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"ReleaseVersion"}]},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/ReleaseVersion/StatsPayload":{"url":"\/documentation\/discogsservice\/components\/schemas\/releaseversion\/statspayload","kind":"symbol","role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"StatsPayload"}],"abstract":[{"text":"A type contains statictics about a release version.","type":"text"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/ReleaseVersion\/StatsPayload","navigatorTitle":[{"kind":"identifier","text":"StatsPayload"}],"title":"Components.Schemas.ReleaseVersion.StatsPayload"},"doc://DiscogsService/documentation/DiscogsService/Components":{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components","title":"Components","url":"\/documentation\/discogsservice\/components","type":"topic","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Components"}],"abstract":[{"text":"Types generated from the components section of the OpenAPI document.","type":"text"}],"role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Components"}]},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/ReleaseVersion/StatsPayload/CommunityPayload":{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/ReleaseVersion\/StatsPayload\/CommunityPayload","title":"Components.Schemas.ReleaseVersion.StatsPayload.CommunityPayload","url":"\/documentation\/discogsservice\/components\/schemas\/releaseversion\/statspayload\/communitypayload","kind":"symbol","type":"topic","navigatorTitle":[{"text":"CommunityPayload","kind":"identifier"}],"abstract":[{"type":"text","text":"A type that represents the relationship between users and a release version."}],"role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"CommunityPayload"}]},"doc://DiscogsService/documentation/DiscogsService":{"title":"DiscogsService","abstract":[],"role":"collection","type":"topic","kind":"symbol","url":"\/documentation\/discogsservice","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService"}}} |