Skip to main content
POST
/
{resourceSlug}
/
forms
/
datasource
/
{datasourceId}
/
schedule
Edit Schedule In Datasource - This is marked as Uncomplete
curl --request POST \
  --url https://app.agentcloud.dev/{resourceSlug}/forms/datasource/{datasourceId}/schedule \
  --header 'Authorization: Bearer <token>'
{
  "_id": "<string>",
  "redirect": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

resourceSlug
string
required

The resourceSlug is a url parameter of the teamId associated with the user. Anywhere the resourceSlug is used can be interpreted as a teamId Mongodb Object id, unique identifier, length of 24 characters fitting the following regex; [a-f0-9]{24}

Query Parameters

datasource
object
required

Datasource object that was created when testDatasourceApi is run, must include datasourceId. Represents a data source configuration within the system, including connection details, status, chunking configurations, and record counts.

Response

Successful operation, redirect to '/{resourceSlug}/datasources'. Returns added toolId in return body

Server response after successsfully adding a new object

_id
string

The unique Mongo id of the newly inserted object.

redirect
string

a string containing the redirect link to get all objects after a successful insertion.