Create a new file or folder artifact

post

/epm/rest/v1/artifacts

Request

Query Parameters
Supported Media Types
Request Body - application/json ()
Narrative Reporting Library Artifact
Root Schema : schema
Type: object
Narrative Reporting Library Artifact
Show Source
  • The file or folder description.
  • When creating a file artifact, the file being added to the Library must be uploaded using Files REST API or by the EPMAutomate uploadFile command. * If the file was uploaded using the Files REST API, provide the File ID as the value for this parameter. * If the file was uploaded using EPMAutomate, provide the file name that was used to upload the file.
  • Allowed Values: [ "application/zip", "application/x-zip-compressed", "text/plain", "text/csv", "font/ttf", "application/pdf", "application/vnd.ms-excel", "application/vnd.ms-word", "application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.openxmlformats-officedocument.presentationml.presentation" ]
  • The file or folder name.
  • The Library folder where the new file or folder will be created. * When creating a folder, any parent folders specified in the systemPath will also be created. * This parameter is optional when creating a folder. If this parameter isn't specified, the folder will be created at the root of the Library. * This parameter is required when creating a file.
  • Allowed Values: [ "FileResourceType", "FolderResourceType" ]
Back to Top

Response

Supported Media Types

201 Response

The artifact was created.
Body ()
Root Schema : Artifact
Type: object
Narrative Reporting Library Artifact
Show Source
Nested Schema : ItemCollectionArtifact
Type: object
Show Source
Nested Schema : items
Type: array
Read Only: true
Show Source

400 Response

Invalid parameter
Body ()
Root Schema : ExceptionDetail
Type: object
Detailed exception information.
Show Source
  • Human-readable description specific to this occurrence of the problem.
  • HTTP status code for this occurrence of the problem, set by the origin server.
  • Short, human-readable summary of the problem.
  • Absolute URI [RFC3986] that identifies the problem type.

500 Response

Service Error
Body ()
Root Schema : ExceptionDetail
Type: object
Detailed exception information.
Show Source
  • Human-readable description specific to this occurrence of the problem.
  • HTTP status code for this occurrence of the problem, set by the origin server.
  • Short, human-readable summary of the problem.
  • Absolute URI [RFC3986] that identifies the problem type.
Back to Top