Create a folder, or find or make the folders a path names
Changed onWith name: a folder of that name under parent_id (the vault root when absent or null), refused when a folder there already holds the name, in any case and in either Unicode form (composed or decomposed). With path: the folders it names under parent_id, each segment the folder holding that name, matched the same way, under the one before it, or a new folder, as an upload placed by folder_path finds or makes them; the answer is the deepest one, and created says whether any was made. A name is stored composed (NFC). A tree of folders is made this way, each folder by its path under a folder named by id: a folder's own name may hold a /, which a path from the vault root would read as two folders. A read-only (Viewer) session can do neither.
Request
- Base URLhttps://api.sparkvault.com/v1
- Auth
- API key in header X-API-Key and API key in header X-Vault-Access-Token
- or HTTP bearer and API key in header X-Vault-Access-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The vault.
Request body
Response
The folder made, or with path the deepest folder it names, as every folder read answers it.
Changes
- breaking
the
response's property type changed fromobjectto no type for status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
added
subschema #2to theresponse propertyallOflist for the response status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- breaking
- breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status
- breaking