1 line
3.7 KiB
JSON
1 line
3.7 KiB
JSON
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"postData"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"? { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["iOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/swiftkit\/apiroute\/postdata"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/SwiftKit\/documentation\/SwiftKit\/ApiRoute\/postData","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"The route’s optional post data, that should be added as"},{"type":"text","text":" "},{"type":"codeVoice","code":"httpBody"},{"type":"text","text":" when performing a request. When defined, the"},{"type":"text","text":" "},{"type":"text","text":"property takes precedence over "},{"type":"codeVoice","code":"postParams"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"role":"symbol","title":"postData","roleHeading":"Instance Property","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"postData"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"symbolKind":"property","externalID":"s:8SwiftKit8ApiRouteP8postData10Foundation0F0VSgvp","required":true,"modules":[{"name":"SwiftKit"}]},"hierarchy":{"paths":[["doc:\/\/SwiftKit\/documentation\/SwiftKit","doc:\/\/SwiftKit\/documentation\/SwiftKit\/ApiRoute"]]},"references":{"doc://SwiftKit/documentation/SwiftKit/ApiRoute/postData":{"role":"symbol","title":"postData","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"postData"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"The route’s optional post data, that should be added as"},{"type":"text","text":" "},{"type":"codeVoice","code":"httpBody"},{"type":"text","text":" when performing a request. When defined, the"},{"type":"text","text":" "},{"type":"text","text":"property takes precedence over "},{"type":"codeVoice","code":"postParams"},{"type":"text","text":"."}],"identifier":"doc:\/\/SwiftKit\/documentation\/SwiftKit\/ApiRoute\/postData","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/swiftkit\/apiroute\/postdata"},"doc://SwiftKit/documentation/SwiftKit":{"role":"collection","title":"SwiftKit","abstract":[{"type":"text","text":"SwiftKit adds extra functionality to the Swift framework, like extensions to native types, utilites, services etc."}],"identifier":"doc:\/\/SwiftKit\/documentation\/SwiftKit","kind":"symbol","type":"topic","url":"\/documentation\/swiftkit"},"doc://SwiftKit/documentation/SwiftKit/ApiRoute":{"role":"symbol","title":"ApiRoute","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"ApiRoute"}],"abstract":[{"type":"text","text":"This protocol represents an external api route, e.g. "},{"type":"codeVoice","code":"login"},{"type":"text","text":" "},{"type":"text","text":"or "},{"type":"codeVoice","code":"user"},{"type":"text","text":". Each route is a separate action that defines all"},{"type":"text","text":" "},{"type":"text","text":"information required to perform an api request."}],"identifier":"doc:\/\/SwiftKit\/documentation\/SwiftKit\/ApiRoute","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ApiRoute"}],"url":"\/documentation\/swiftkit\/apiroute"}}} |