Robot Web Services
3HAC050973-001 Revision:L, Application Manual - Robot Web Services
|
Create a directory
/fileservice/{device|environment_variable}/{directory}
POST
CREATED(201)
No content
UNAUTHORIZED(401), BAD_REQUEST(400), UNSUPPORTED_MEDIA(415),
See Robot controller return codes
Create a new directory
curl --digest -u "Default User":robotics -d "fs-newname=newdir&fs-action=create" -X POST "http://localhost/fileservice/$home/"
Only relative path are allowed for "*fs-newname*". Absolute paths are not supported
The fs-newname can take nested directory structure e.g. fs-newname=parentdir/subdir
will create both the directories if they don't exist i.e. subdir
under parentdir
Supported in bootserver mode