Deploy Data Tables
post
/rest/v19/datatables/actions/deploy
This endpoint is used to deploy the specified data tables.
Request
Supported Media Types
- application/json
Root Schema : dataTable-deployRequest
Type:
Show Source
object-
autoPullFKTables:
boolean
Title:
Deploy dependent tablesDeploy dependent tables, if they are not selected for deployment -
selections(required):
array Table Names List
Title:
Table Names ListTable name list of Datatables to be deployed.
Nested Schema : Table Names List
Type:
arrayTitle:
Table Names ListTable name list of Datatables to be deployed.
Show Source
Response
Supported Media Types
- application/json
202 Response
Deploy task details
Root Schema : Task details
Type:
objectTitle:
Task detailsTask details
Show Source
-
links:
array Links
Title:
LinksLinks to the related objects. -
taskId:
integer
Title:
Task IdThe status log task Id.
Nested Schema : Links
Type:
arrayTitle:
LinksLinks to the related objects.
Show Source
-
Array of:
object Reference Links
Title:
Reference LinksReference links for the Parent, Self, Children and Related as applicable
Nested Schema : Reference Links
Type:
objectTitle:
Reference LinksReference links for the Parent, Self, Children and Related as applicable
Show Source
-
href:
string
Title:
hrefURL to the related object -
rel:
string
Title:
LinkLink relationship to the current object
Default Response
OK
Examples
The following example shows how to deploy data tables by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X POST -H "Authorization: Bearer <token>" -H "Content-type: application/json" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/datatables/actions/deploy
Request Body Sample
{
"selections": ["Racks", "Rack_Components"]
}
Response Body Sample
{
"taskIds": [{
"id": 41366783,
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/tasks/41366783"
}
],
}, {
"id": 41366784,
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/tasks/41366784"
}
],
}
],
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/datatables/actions/deploy"
}
]
}