Upload a table
put/cas/sessions/{sessionId}/actions/{actionName}
Use with the table.upload action to upload tables. Action parameters are specified in the JSON-Parameters HTTP header in JSON format. Data for the table is sent as the HTTP request data, and should match the format specified in the fileType parameter of the action.
1{2 "status": 0,3 "log": "Some log entry that is returned",4 "results": {5 "value": {6 "_ctb": true,7 "label": "Cas Table Label",8 "title": "Cas Table Title",9 "name": "Cas Table Name",10 "schema": {11 "value": {12 "name": "Some column name",13 "label": "Some column label",14 "format": "Some format",15 "type": "int",16 "width": 7,17 "attributes": {18 "Some Attributes": null19 }20 }21 }22 },23 "logEntries": {24 "value": {25 "level": "all",26 "message": "Logging entry"27 }28 }29 },30 "disposition": {31 "value": {32 "severity": "Normal",33 "reason": "OK",34 "statusCode": 0,35 "formattedStatus": "null",36 "debugInfo": "null",37 "changedResources": {38 "value": {39 "$ref": "#/components/examples/CASResource"40 }41 }42 },43 "metrics": {44 "value": {45 "$ref": "#/components/examples/ActionMetrics"46 }47 }48 }49}
Name | Type | Required | Description |
---|---|---|---|
actionName | string | true | Name of action. Can be expressed as actionSet.action to specify an action in a specific actionSet. |
sessionId | string | true | sessionId (UUID) of session. |