Files
discogs-service/docs/data/documentation/discogsservice/operations/postreleasetocollectionfolder.json
T

1 line
7.4 KiB
JSON
Raw Normal View History

2025-10-16 17:33:15 +00:00
{"metadata":{"navigatorTitle":[{"text":"PostReleaseToCollectionFolder","kind":"identifier"}],"modules":[{"name":"DiscogsService"}],"roleHeading":"Enumeration","symbolKind":"enum","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"PostReleaseToCollectionFolder"}],"role":"symbol","title":"Operations.PostReleaseToCollectionFolder","externalID":"s:14DiscogsService10OperationsO29PostReleaseToCollectionFolderO"},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/discogsservice\/operations\/postreleasetocollectionfolder"]}],"abstract":[{"type":"text","text":"Add a release to a collection folder of a user."}],"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations"]]},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"PostReleaseToCollectionFolder"}],"languages":["swift"]}],"kind":"declarations"},{"content":[{"type":"heading","text":"Overview","anchor":"overview","level":2},{"type":"paragraph","inlineContent":[{"text":"Adds a release to a collection folder of a user.","type":"text"}]},{"type":"aside","name":"Important","content":[{"inlineContent":[{"text":"A ","type":"text"},{"type":"codeVoice","code":"folder_id"},{"text":" must not be ","type":"text"},{"type":"codeVoice","code":"0"},{"text":", so it is possible to use the identifier ","type":"text"},{"type":"codeVoice","code":"1"},{"text":" for the ","type":"text"},{"inlineContent":[{"type":"text","text":"Uncategorized"}],"type":"emphasis"},{"text":" folder.","type":"text"}],"type":"paragraph"}],"style":"important"},{"type":"paragraph","inlineContent":[{"text":"This endpoint requires authentication as the collection owner.","type":"text"}]},{"type":"aside","name":"Remark","content":[{"inlineContent":[{"text":"HTTP ","type":"text"},{"type":"codeVoice","code":"POST \/users\/{username}\/collection\/folders\/{folder_id}\/releases\/{release_id}"},{"text":".","type":"text"}],"type":"paragraph"}],"style":"note"},{"type":"aside","name":"Remark","content":[{"inlineContent":[{"text":"Generated from ","type":"text"},{"type":"codeVoice","code":"#\/paths\/\/users\/{username}\/collection\/folders\/{folder_id}\/releases\/{release_id}\/post(postReleaseToCollectionFolder)"},{"text":".","type":"text"}],"type":"paragraph"}],"style":"note"}],"kind":"content"}],"identifier":{"url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"major":0,"minor":3},"topicSections":[{"title":"Structures","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Input"],"anchor":"Structures","generated":true},{"title":"Type Properties","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/id"],"anchor":"Type-Properties","generated":true},{"title":"Enumerations","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/AcceptableContentType","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/Output"],"anchor":"Enumerations","generated":true}],"kind":"symbol","references":{"doc://DiscogsService/documentation/DiscogsService/Operations/PostReleaseToCollectionFolder/id":{"type":"topic","title":"id","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"kind":"identifier","text":"id"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"abstract":[],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Operations\/PostReleaseToCollectionFolder\/id","role":"symbol","url":"\/documentation\/discogsservice\/operations\/postreleasetocollectionfolder\/id"},"d