This resource manages folders in the repository and provides methods for creating new folders.

The following resources are applicable:

/repo/dirs/{pathId }

PUT

Creates a new folder with the specified name.

Example Request:
PUT pentaho/api/repo/dirs/home
PUT data:

This PUT body does not contain data.

Parameters

name description type
pathId The path from the root folder to the root node of the tree to return using colon characters in place of / or \ characters. To clarify /path/to/file, the encoded pathId would be :path:to:file. path

Response Body

element: (custom)
media types: */*
application/xml
application/octet-stream

A jax-rs Response object with the appropriate status code, header, and body.

Example Response:

couldNotCreateFolderDuplicate

Status Codes

code description
200 Successfully created folder.
409 Path already exists.
500 Server Error.

Copyright © Pentaho.com
Generated by Enunciate.