Add CDE project file
POST/cde/:cde/:projectId/file
Require admin rights
Request
Path Parameters
cde stringrequired
projectId stringrequired
- application/json
Body
folderId stringnullable
Project related folder id.
name stringrequired
Name.
cdeId stringrequired
CDE specific id.
Responses
- 200
- 202
- 400
- 401
- 403
- 404
- 409
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
cdeId stringrequired
CDE specific file id.
name stringrequired
File name.
fileId stringrequired
Project related file ID.
exclude booleanrequired
Exclude file from project.
{
"cdeId": "string",
"name": "string",
"fileId": "string",
"exclude": true
}
Accepted
- application/json
- Schema
- Example (from schema)
Schema
cdeId stringrequired
CDE specific file id.
name stringrequired
File name.
fileId stringrequired
Project related file ID.
exclude booleanrequired
Exclude file from project.
{
"cdeId": "string",
"name": "string",
"fileId": "string",
"exclude": true
}
Bad Request
- application/json
- Schema
Schema
any
Unauthorized
Forbidden
Not Found
Conflict
Server Error
Loading...