estela API Swagger Specification
new_password required | string (New password) non-empty |
confirm_new_password required | string (Confirm new password) non-empty |
old_password required | string (Old password) non-empty |
{- "new_password": "string",
- "confirm_new_password": "string",
- "old_password": "string"
}
{- "user": {
- "username": "string",
- "email": "user@example.com"
}, - "key": "string"
}
token required | string Token |
pair required | string Pair |
new_password required | string (New password) non-empty |
confirm_new_password required | string (Confirm new password) non-empty |
{- "new_password": "string",
- "confirm_new_password": "string"
}
{- "user": {
- "username": "string",
- "email": "user@example.com"
}, - "key": "string"
}
email required | string <email> (Email) non-empty |
{- "email": "user@example.com"
}
{- "email": "user@example.com"
}
username required | string (Username) non-empty |
password required | string (Password) non-empty |
{- "username": "string",
- "password": "string"
}
{- "user": {
- "username": "string",
- "email": "user@example.com"
}, - "key": "string"
}
username required | string (Username) non-empty |
email required | string (Email) non-empty |
password required | string (Password) non-empty |
{- "username": "string",
- "email": "string",
- "password": "string"
}
{- "username": "string",
- "email": "string",
- "password": "string"
}
username required | string^[\w.@+-]+$ Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. |
username required | string (Username) non-empty |
email required | string (Email) non-empty |
password required | string (Password) non-empty |
{- "username": "string",
- "email": "string",
- "password": "string"
}
{- "username": "string",
- "email": "string",
- "password": "string"
}
username required | string^[\w.@+-]+$ Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. |
username required | string (Username) non-empty |
email required | string (Email) non-empty |
password required | string (Password) non-empty |
{- "username": "string",
- "email": "string",
- "password": "string"
}
{- "username": "string",
- "email": "string",
- "password": "string"
}
string <email> (Email address) <= 254 characters | |
username required | string (Username) [ 1 .. 150 ] characters ^[\w.@+-]+$ Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. |
password required | string (Password) [ 1 .. 128 ] characters |
{- "email": "user@example.com",
- "username": "string",
- "password": "string"
}
{- "user": {
- "username": "string",
- "email": "user@example.com"
}, - "key": "string"
}
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "nid": 0,
- "activity": {
- "user": {
- "username": "string",
- "email": "user@example.com"
}, - "project": {
- "pid": "058d15e1-c249-47bc-9c08-cb16c9e878c4",
- "name": "string"
}, - "description": "string",
- "created": "2019-08-24T14:15:22Z"
}, - "seen": true
}
]
}
required | object (Activity) Activity being notified. |
seen | boolean (Seen) Whether the notification was seen. |
{- "activity": {
- "user": {
- "username": "string",
- "email": "user@example.com"
}, - "project": { },
- "description": "string"
}, - "seen": true
}
{- "nid": 0,
- "activity": {
- "user": {
- "username": "string",
- "email": "user@example.com"
}, - "project": {
- "pid": "058d15e1-c249-47bc-9c08-cb16c9e878c4",
- "name": "string"
}, - "description": "string",
- "created": "2019-08-24T14:15:22Z"
}, - "seen": true
}
nid required | integer A unique integer value identifying each notification |
{- "nid": 0,
- "activity": {
- "user": {
- "username": "string",
- "email": "user@example.com"
}, - "project": {
- "pid": "058d15e1-c249-47bc-9c08-cb16c9e878c4",
- "name": "string"
}, - "description": "string",
- "created": "2019-08-24T14:15:22Z"
}, - "seen": true
}
nid required | integer A unique integer value identifying each notification |
seen | boolean (Seen) Whether the notification was seen. |
{- "seen": true
}
{- "nid": 0,
- "seen": true
}
nid required | integer A unique integer value identifying each notification |
required | object (Activity) Activity being notified. |
seen | boolean (Seen) Whether the notification was seen. |
{- "activity": {
- "user": {
- "username": "string",
- "email": "user@example.com"
}, - "project": { },
- "description": "string"
}, - "seen": true
}
{- "nid": 0,
- "activity": {
- "user": {
- "username": "string",
- "email": "user@example.com"
}, - "project": {
- "pid": "058d15e1-c249-47bc-9c08-cb16c9e878c4",
- "name": "string"
}, - "description": "string",
- "created": "2019-08-24T14:15:22Z"
}, - "seen": true
}
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "pid": "058d15e1-c249-47bc-9c08-cb16c9e878c4",
- "name": "string",
- "category": "NOT SPECIFIED",
- "framework": "SCRAPY",
- "container_image": "string",
- "users": [
- {
- "user": {
- "username": "string",
- "email": "user@example.com"
}, - "permission": "OWNER"
}
], - "env_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": true
}
], - "data_status": "PERSISTENT",
- "data_expiry_days": 65535
}
]
}
name required | string (Name) [ 1 .. 1000 ] characters Project's name. |
category | string (Category) Enum: "NOT SPECIFIED" "E-COMMERCE" "LOGISTICS" "FINANCE" "EDUCATIONAL" "TECHNOLOGY" "OTHER_CATEGORY" Project's category. |
framework | string (Framework) Enum: "SCRAPY" "REQUESTS" Project's framework. |
Array of objects (Permission) Users with permissions on this project. | |
Array of objects (SpiderJobEnvVar) Project env variables. | |
data_status | string (Data status) Enum: "PERSISTENT" "PENDING" Data status. |
data_expiry_days | integer (Data expiry days) [ 0 .. 65535 ] Days before data is deleted. |
{- "name": "string",
- "category": "NOT SPECIFIED",
- "framework": "SCRAPY",
- "users": [
- {
- "user": {
- "username": "string",
- "email": "user@example.com"
}, - "permission": "OWNER"
}
], - "env_vars": [
- {
- "name": "string",
- "value": "string",
- "masked": true
}
], - "data_status": "PERSISTENT",
- "data_expiry_days": 65535
}
{- "pid": "058d15e1-c249-47bc-9c08-cb16c9e878c4",
- "name": "string",
- "category": "NOT SPECIFIED",
- "framework": "SCRAPY",
- "container_image": "string",
- "users": [
- {
- "user": {
- "username": "string",
- "email": "user@example.com"
}, - "permission": "OWNER"
}
], - "env_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": true
}
], - "data_status": "PERSISTENT",
- "data_expiry_days": 65535
}
pid required | string <uuid> A UUID identifying this project. |
{- "pid": "058d15e1-c249-47bc-9c08-cb16c9e878c4",
- "name": "string",
- "category": "NOT SPECIFIED",
- "framework": "SCRAPY",
- "container_image": "string",
- "users": [
- {
- "user": {
- "username": "string",
- "email": "user@example.com"
}, - "permission": "OWNER"
}
], - "env_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": true
}
], - "data_status": "PERSISTENT",
- "data_expiry_days": 65535
}
pid required | string <uuid> A UUID identifying this project. |
name | string (Name) non-empty Project name. |
Array of objects (UserDetail) Affected users. | |
string <email> (Email) non-empty Email address. | |
action | string (Action) Enum: "remove" "add" "update" Performed action. |
framework | string (Framework) Enum: "SCRAPY" "REQUESTS" Set project framework. |
Array of objects (SpiderJobEnvVar) Project env variables. | |
permission | string (Permission) Enum: "ADMIN" "DEVELOPER" "VIEWER" New permission. |
data_status | string (Data status) Enum: "PERSISTENT" "PENDING" New data status. |
data_expiry_days | integer (Data expiry days) New data expiry days. |
{- "name": "string",
- "users": [
- {
- "username": "string",
- "email": "user@example.com"
}
], - "email": "user@example.com",
- "action": "remove",
- "framework": "SCRAPY",
- "env_vars": [
- {
- "name": "string",
- "value": "string",
- "masked": true
}
], - "permission": "ADMIN",
- "data_status": "PERSISTENT",
- "data_expiry_days": 0
}
{- "pid": "058d15e1-c249-47bc-9c08-cb16c9e878c4",
- "name": "string",
- "users": [
- {
- "username": "string",
- "email": "user@example.com"
}
], - "email": "user@example.com",
- "action": "remove",
- "framework": "SCRAPY",
- "env_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": true
}
], - "permission": "ADMIN",
- "data_status": "PERSISTENT",
- "data_expiry_days": 0
}
pid required | string <uuid> A UUID identifying this project. |
name required | string (Name) [ 1 .. 1000 ] characters Project's name. |
category | string (Category) Enum: "NOT SPECIFIED" "E-COMMERCE" "LOGISTICS" "FINANCE" "EDUCATIONAL" "TECHNOLOGY" "OTHER_CATEGORY" Project's category. |
framework | string (Framework) Enum: "SCRAPY" "REQUESTS" Project's framework. |
Array of objects (Permission) Users with permissions on this project. | |
Array of objects (SpiderJobEnvVar) Project env variables. | |
data_status | string (Data status) Enum: "PERSISTENT" "PENDING" Data status. |
data_expiry_days | integer (Data expiry days) [ 0 .. 65535 ] Days before data is deleted. |
{- "name": "string",
- "category": "NOT SPECIFIED",
- "framework": "SCRAPY",
- "users": [
- {
- "user": {
- "username": "string",
- "email": "user@example.com"
}, - "permission": "OWNER"
}
], - "env_vars": [
- {
- "name": "string",
- "value": "string",
- "masked": true
}
], - "data_status": "PERSISTENT",
- "data_expiry_days": 65535
}
{- "pid": "058d15e1-c249-47bc-9c08-cb16c9e878c4",
- "name": "string",
- "category": "NOT SPECIFIED",
- "framework": "SCRAPY",
- "container_image": "string",
- "users": [
- {
- "user": {
- "username": "string",
- "email": "user@example.com"
}, - "permission": "OWNER"
}
], - "env_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": true
}
], - "data_status": "PERSISTENT",
- "data_expiry_days": 65535
}
pid required | string <uuid> A UUID identifying this project. |
page | number A page number within the paginated result set. |
page_size | number Number of results to return per page. |
{- "results": [
- {
- "user": {
- "username": "string",
- "email": "user@example.com"
}, - "project": {
- "pid": "058d15e1-c249-47bc-9c08-cb16c9e878c4",
- "name": "string"
}, - "description": "string",
- "created": "2019-08-24T14:15:22Z"
}
], - "count": 0
}
pid required | string <uuid> A UUID identifying this project. |
page | number A page number within the paginated result set. |
page_size | number Number of results to return per page. |
{- "results": [
- {
- "cjid": 0,
- "spider": "string",
- "created": "2019-08-24T14:15:22Z",
- "name": "string",
- "cargs": [
- {
- "name": "string",
- "value": "string"
}
], - "cenv_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": true
}
], - "ctags": [
- {
- "name": "string"
}
], - "schedule": "string",
- "status": "ACTIVE",
- "unique_collection": true,
- "data_status": "PERSISTENT",
- "data_expiry_days": 65535
}
], - "count": 0
}
pid required | string <uuid> A UUID identifying this project. |
{- "pid": "string",
- "name": "string",
- "network_usage": 18446744073709552000,
- "processing_time": "string",
- "item_count": 18446744073709552000,
- "request_count": 18446744073709552000,
- "items_data_size": 18446744073709552000,
- "requests_data_size": 18446744073709552000,
- "logs_data_size": 18446744073709552000
}
pid required | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "did": 0,
- "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
- "user": {
- "username": "string",
- "email": "user@example.com"
}, - "status": "SUCCESS",
- "spiders": [
- {
- "sid": 0,
- "name": "string",
- "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
- "env_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": true
}
], - "data_status": "PERSISTENT",
- "data_expiry_days": 0
}
], - "created": "2019-08-24T14:15:22Z"
}
]
}
pid required | string |
status | string (Status) Enum: "SUCCESS" "BUILDING" "FAILURE" "CANCELED" Deploy status. |
{- "status": "SUCCESS"
}
{- "did": 0,
- "status": "SUCCESS",
- "created": "2019-08-24T14:15:22Z",
}
did required | integer A unique integer value identifying this deploy. |
pid required | string |
{- "did": 0,
- "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
- "user": {
- "username": "string",
- "email": "user@example.com"
}, - "status": "SUCCESS",
- "spiders": [
- {
- "sid": 0,
- "name": "string",
- "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
- "env_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": true
}
], - "data_status": "PERSISTENT",
- "data_expiry_days": 0
}
], - "created": "2019-08-24T14:15:22Z"
}
did required | integer A unique integer value identifying this deploy. |
pid required | string |
status | string (Status) Enum: "SUCCESS" "BUILDING" "FAILURE" "CANCELED" Deploy status. |
spiders_names | Array of strings[ items [ 1 .. 1000 ] characters ] Spider names in this deploy. |
{- "status": "SUCCESS",
- "spiders_names": [
- "string"
]
}
{- "did": 0,
- "status": "SUCCESS",
- "spiders_names": [
- "string"
]
}
did required | integer A unique integer value identifying this deploy. |
pid required | string |
project required | string <uuid> (Project) Project UUID. |
required | object (UserDetail) User details. |
status | string (Status) Enum: "SUCCESS" "BUILDING" "FAILURE" "CANCELED" Deploy status. |
Array of objects (Spider) Spiders in this deploy. |
{- "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
- "user": {
- "username": "string",
- "email": "user@example.com"
}, - "status": "SUCCESS",
- "spiders": [
- {
- "name": "string",
- "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
- "env_vars": [
- {
- "name": "string",
- "value": "string",
- "masked": true
}
], - "data_status": "PERSISTENT",
- "data_expiry_days": 0
}
]
}
{- "did": 0,
- "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
- "user": {
- "username": "string",
- "email": "user@example.com"
}, - "status": "SUCCESS",
- "spiders": [
- {
- "sid": 0,
- "name": "string",
- "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
- "env_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": true
}
], - "data_status": "PERSISTENT",
- "data_expiry_days": 0
}
], - "created": "2019-08-24T14:15:22Z"
}
pid required | string <uuid> A UUID identifying this project. |
page | number A page number within the paginated result set. |
page_size | number Number of results to return per page. |
{- "results": [
- {
- "jid": 0,
- "spider": "string",
- "created": "2019-08-24T14:15:22Z",
- "name": "string",
- "lifespan": 0,
- "total_response_bytes": 18446744073709552000,
- "item_count": 18446744073709552000,
- "request_count": 18446744073709552000,
- "args": [
- {
- "name": "string",
- "value": "string"
}
], - "env_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": true
}
], - "tags": [
- {
- "name": "string"
}
], - "job_status": "string",
- "cronjob": 0,
- "data_expiry_days": 65535,
- "data_status": "PERSISTENT"
}
], - "count": 0
}
pid required | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "sid": 0,
- "name": "string",
- "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
- "env_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": true
}
], - "data_status": "PERSISTENT",
- "data_expiry_days": 0
}
]
}
pid required | string |
sid required | integer A unique integer value identifying this spider. |
{- "sid": 0,
- "name": "string",
- "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
- "env_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": true
}
], - "data_status": "PERSISTENT",
- "data_expiry_days": 0
}
pid required | string |
sid required | integer A unique integer value identifying this spider. |
Array of objects (SpiderJobEnvVar) Project environment variables. | |
data_status | string (Data status) Enum: "PERSISTENT" "PENDING" New data status. |
data_expiry_days | integer (Data expiry days) New data expiry days. |
{- "env_vars": [
- {
- "name": "string",
- "value": "string",
- "masked": true
}
], - "data_status": "PERSISTENT",
- "data_expiry_days": 0
}
{- "sid": "07f6f342-38f7-4271-ab8f-fab49fd96378",
- "env_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": true
}
], - "data_status": "PERSISTENT",
- "data_expiry_days": 0
}
pid required | string |
sid required | integer A unique integer value identifying this spider. |
name required | string (Name) [ 1 .. 1000 ] characters Spider's name. |
project required | string <uuid> (Project) Project UUID. |
Array of objects (SpiderJobEnvVar) Spider environment variables. | |
data_status required | string (Data status) Enum: "PERSISTENT" "PENDING" Data status. |
data_expiry_days required | integer (Data expiry days) Days before data expires. |
{- "name": "string",
- "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
- "env_vars": [
- {
- "name": "string",
- "value": "string",
- "masked": true
}
], - "data_status": "PERSISTENT",
- "data_expiry_days": 0
}
{- "sid": 0,
- "name": "string",
- "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
- "env_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": true
}
], - "data_status": "PERSISTENT",
- "data_expiry_days": 0
}
pid required | string |
sid required | string |
tag | string Cron job tag. |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "cjid": 0,
- "spider": "string",
- "created": "2019-08-24T14:15:22Z",
- "name": "string",
- "cargs": [
- {
- "name": "string",
- "value": "string"
}
], - "cenv_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": true
}
], - "ctags": [
- {
- "name": "string"
}
], - "schedule": "string",
- "status": "ACTIVE",
- "unique_collection": true,
- "data_status": "PERSISTENT",
- "data_expiry_days": 65535
}
]
}
pid required | string |
sid required | string |
Array of objects (SpiderJobArg) Cron job arguments. | |
Array of objects (SpiderJobEnvVar) Cron job env variables. | |
Array of objects (SpiderJobTag) Cron job tags. | |
schedule | string (Schedule) <= 20 characters Cron job schedule definition. |
unique_collection | boolean (Unique collection) True if this cron job stores its items in a unique collection. |
data_expiry_days required | integer (Data expiry days) Days before data expires. |
data_status required | string (Data status) Enum: "PERSISTENT" "PENDING" "DELETED" Data status. |
{- "cargs": [
- {
- "name": "string",
- "value": "string"
}
], - "cenv_vars": [
- {
- "name": "string",
- "value": "string",
- "masked": true
}
], - "ctags": [
- {
- "name": "string"
}
], - "schedule": "string",
- "unique_collection": true,
- "data_expiry_days": 0,
- "data_status": "PERSISTENT"
}
{- "cjid": 0,
- "name": "string",
- "cargs": [
- {
- "name": "string",
- "value": "string"
}
], - "cenv_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": true
}
], - "ctags": [
- {
- "name": "string"
}
], - "schedule": "string",
- "unique_collection": true,
- "data_expiry_days": 0,
- "data_status": "PERSISTENT"
}
cjid required | integer A unique integer value identifying this cron job. |
pid required | string |
sid required | string |
{- "cjid": 0,
- "spider": "string",
- "created": "2019-08-24T14:15:22Z",
- "name": "string",
- "cargs": [
- {
- "name": "string",
- "value": "string"
}
], - "cenv_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": true
}
], - "ctags": [
- {
- "name": "string"
}
], - "schedule": "string",
- "status": "ACTIVE",
- "unique_collection": true,
- "data_status": "PERSISTENT",
- "data_expiry_days": 65535
}
cjid required | integer A unique integer value identifying this cron job. |
pid required | string |
sid required | string |
status | string (Status) Enum: "ACTIVE" "DISABLED" Cron job status. |
schedule | string (Schedule) <= 20 characters Cron job schedule definition. |
unique_collection | boolean (Unique collection) True if this cron job stores its items in a unique collection. |
data_status | string (Data status) Enum: "PERSISTENT" "PENDING" Data status. |
data_expiry_days | integer or null (Data expiry days) [ 0 .. 65535 ] Days before data is deleted. |
{- "status": "ACTIVE",
- "schedule": "string",
- "unique_collection": true,
- "data_status": "PERSISTENT",
- "data_expiry_days": 65535
}
{- "cjid": 0,
- "status": "ACTIVE",
- "schedule": "string",
- "unique_collection": true,
- "data_status": "PERSISTENT",
- "data_expiry_days": 65535
}
cjid required | integer A unique integer value identifying this cron job. |
pid required | string |
sid required | string |
Array of objects (SpiderJobArg) Cron job arguments. | |
Array of objects (SpiderJobEnvVar) Cron job env variables. | |
Array of objects (SpiderJobTag) Cron job tags. | |
schedule | string (Schedule) <= 20 characters Cron job schedule definition. |
status | string (Status) Enum: "ACTIVE" "DISABLED" Cron job status. |
unique_collection | boolean (Unique collection) True if this cron job stores its items in a unique collection. |
data_status | string (Data status) Enum: "PERSISTENT" "PENDING" Data status. |
data_expiry_days | integer or null (Data expiry days) [ 0 .. 65535 ] Days before data is deleted. |
{- "cargs": [
- {
- "name": "string",
- "value": "string"
}
], - "cenv_vars": [
- {
- "name": "string",
- "value": "string",
- "masked": true
}
], - "ctags": [
- {
- "name": "string"
}
], - "schedule": "string",
- "status": "ACTIVE",
- "unique_collection": true,
- "data_status": "PERSISTENT",
- "data_expiry_days": 65535
}
{- "cjid": 0,
- "spider": "string",
- "created": "2019-08-24T14:15:22Z",
- "name": "string",
- "cargs": [
- {
- "name": "string",
- "value": "string"
}
], - "cenv_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": true
}
], - "ctags": [
- {
- "name": "string"
}
], - "schedule": "string",
- "status": "ACTIVE",
- "unique_collection": true,
- "data_status": "PERSISTENT",
- "data_expiry_days": 65535
}
cjid required | integer A unique integer value identifying this cron job. |
pid required | string |
sid required | string |
{- "cjid": 0,
- "spider": "string",
- "created": "2019-08-24T14:15:22Z",
- "name": "string",
- "cargs": [
- {
- "name": "string",
- "value": "string"
}
], - "cenv_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": true
}
], - "ctags": [
- {
- "name": "string"
}
], - "schedule": "string",
- "status": "ACTIVE",
- "unique_collection": true,
- "data_status": "PERSISTENT",
- "data_expiry_days": 65535
}
pid required | string |
sid required | string |
cronjob | number Related cron job. |
status | string Job status. |
tag | string Job tag. |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "jid": 0,
- "spider": "string",
- "created": "2019-08-24T14:15:22Z",
- "name": "string",
- "lifespan": 0,
- "total_response_bytes": 18446744073709552000,
- "item_count": 18446744073709552000,
- "request_count": 18446744073709552000,
- "args": [
- {
- "name": "string",
- "value": "string"
}
], - "env_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": true
}
], - "tags": [
- {
- "name": "string"
}
], - "job_status": "string",
- "cronjob": 0,
- "data_expiry_days": 65535,
- "data_status": "PERSISTENT"
}
]
}
pid required | string |
sid required | string |
async | boolean True if this job is async. |
Array of objects (SpiderJobArg) Job arguments. | |
Array of objects (SpiderJobCreateEnvVar) Job env variables. | |
Array of objects (SpiderJobTag) Job tags. | |
cronjob | integer or null (Cronjob) Related cron job. |
data_expiry_days | integer (Data expiry days) Days before data expires. |
data_status required | string (Data status) non-empty Data status. |
{- "args": [
- {
- "name": "string",
- "value": "string"
}
], - "env_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": false
}
], - "tags": [
- {
- "name": "string"
}
], - "cronjob": 0,
- "data_expiry_days": 0,
- "data_status": "string"
}
{- "jid": 0,
- "name": "string",
- "args": [
- {
- "name": "string",
- "value": "string"
}
], - "env_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": false
}
], - "tags": [
- {
- "name": "string"
}
], - "job_status": "string",
- "cronjob": 0,
- "data_expiry_days": 0,
- "data_status": "string"
}
jid required | integer A unique integer value identifying this job. |
pid required | string |
sid required | string |
{- "jid": 0,
- "spider": "string",
- "created": "2019-08-24T14:15:22Z",
- "name": "string",
- "lifespan": 0,
- "total_response_bytes": 18446744073709552000,
- "item_count": 18446744073709552000,
- "request_count": 18446744073709552000,
- "args": [
- {
- "name": "string",
- "value": "string"
}
], - "env_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": true
}
], - "tags": [
- {
- "name": "string"
}
], - "job_status": "string",
- "cronjob": 0,
- "data_expiry_days": 65535,
- "data_status": "PERSISTENT"
}
jid required | integer A unique integer value identifying this job. |
pid required | string |
sid required | string |
status | string (Status) Enum: "IN_QUEUE" "WAITING" "RUNNING" "STOPPED" "COMPLETED" "ERROR" Job status. |
lifespan | number (Lifespan) The elapsed seconds the spider job was running. |
total_response_bytes | integer (Total response bytes) [ 0 .. 18446744073709552000 ] The total bytes received in responses. |
item_count | integer (Item count) [ 0 .. 18446744073709552000 ] The number of items extracted in the job. |
request_count | integer (Request count) [ 0 .. 18446744073709552000 ] The number of requests made by the spider job. |
data_status | string (Data status) Enum: "PERSISTENT" "PENDING" "DELETED" Job data status. |
data_expiry_days | integer (Data expiry days) Job data expiry days. |
proxy_usage_data | string (Proxy usage data) Proxy Usage data. |
{- "status": "IN_QUEUE",
- "lifespan": 0,
- "total_response_bytes": 18446744073709552000,
- "item_count": 18446744073709552000,
- "request_count": 18446744073709552000,
- "data_status": "PERSISTENT",
- "data_expiry_days": 0,
- "proxy_usage_data": "string"
}
{- "jid": 0,
- "status": "IN_QUEUE",
- "lifespan": 0,
- "total_response_bytes": 18446744073709552000,
- "item_count": 18446744073709552000,
- "request_count": 18446744073709552000,
- "data_status": "PERSISTENT",
- "data_expiry_days": 0,
- "proxy_usage_data": "string"
}
jid required | integer A unique integer value identifying this job. |
pid required | string |
sid required | string |
lifespan | number (Lifespan) The elapsed seconds the spider job was running. |
total_response_bytes | integer (Total response bytes) [ 0 .. 18446744073709552000 ] The total bytes received in responses. |
item_count | integer (Item count) [ 0 .. 18446744073709552000 ] The number of items extracted in the job. |
request_count | integer (Request count) [ 0 .. 18446744073709552000 ] The number of requests made by the spider job. |
Array of objects (SpiderJobArg) Job arguments. | |
Array of objects (SpiderJobEnvVar) Job env variables. | |
Array of objects (SpiderJobTag) Job tags. | |
cronjob | integer or null (Cronjob) Related cron job. |
data_expiry_days | integer or null (Data expiry days) [ 0 .. 65535 ] Days before data is deleted. |
data_status | string (Data status) Enum: "PERSISTENT" "PENDING" "DELETED" Data status. |
{- "lifespan": 0,
- "total_response_bytes": 18446744073709552000,
- "item_count": 18446744073709552000,
- "request_count": 18446744073709552000,
- "args": [
- {
- "name": "string",
- "value": "string"
}
], - "env_vars": [
- {
- "name": "string",
- "value": "string",
- "masked": true
}
], - "tags": [
- {
- "name": "string"
}
], - "cronjob": 0,
- "data_expiry_days": 65535,
- "data_status": "PERSISTENT"
}
{- "jid": 0,
- "spider": "string",
- "created": "2019-08-24T14:15:22Z",
- "name": "string",
- "lifespan": 0,
- "total_response_bytes": 18446744073709552000,
- "item_count": 18446744073709552000,
- "request_count": 18446744073709552000,
- "args": [
- {
- "name": "string",
- "value": "string"
}
], - "env_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": true
}
], - "tags": [
- {
- "name": "string"
}
], - "job_status": "string",
- "cronjob": 0,
- "data_expiry_days": 65535,
- "data_status": "PERSISTENT"
}
jid required | string |
pid required | string |
sid required | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
type | string Spider job data type. |
{- "count": 0,
- "results": [
- { }
]
}
jid required | string |
pid required | string |
sid required | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
type | string Spider job data type. |
{- "results": [
- { }
]
}
pid required | string <uuid> A UUID identifying this project. |
start_date | string Start of date range. |
end_date | string End of date range. |
[- {
- "created_at": "2019-08-24T14:15:22Z",
- "processing_time": 0,
- "network_usage": 18446744073709552000,
- "item_count": 18446744073709552000,
- "request_count": 18446744073709552000,
- "items_data_size": 18446744073709552000,
- "requests_data_size": 18446744073709552000,
- "logs_data_size": 18446744073709552000
}
]
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "name": "string",
- "description": "string",
- "proxyid": 0
}
]
}
name required | string (Name) [ 1 .. 255 ] characters A name to identify the proxy |
description required | string (Description) [ 1 .. 1000 ] characters A description for the proxy |
{- "name": "string",
- "description": "string"
}
{- "name": "string",
- "description": "string",
- "proxyid": 0
}
In the request we should specify spider, project or job
proxyid required | integer A unique integer value identifying this proxy. |
level required | string (Level) [ 1 .. 100 ] characters Spider or project |
project_or_spider_id required | string (Project or spider id) [ 1 .. 100 ] characters Project id where the update will be performed |
{- "level": "string",
- "project_or_spider_id": "string"
}
{- "success": true,
- "env_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": true
}
]
}
proxyid required | integer A unique integer value identifying this proxy. |
name required | string (Name) [ 1 .. 255 ] characters A name to identify the proxy |
description required | string (Description) [ 1 .. 1000 ] characters A description for the proxy |
{- "name": "string",
- "description": "string"
}
{- "name": "string",
- "description": "string",
- "proxyid": 0
}
Retrieve stats of all jobs in a range of time, dates must have the format YYYY-mm-dd.
pid required | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
start_date required | string Start of date in format [%Y-%m-%d] (e.g. 2023-04-01). |
end_date required | string End of date in format [%Y-%m-%d] (e.g. 2023-06-02). |
offset | integer Offset between your local timezone and UTC in 'minutes'. |
[- {
- "date": "2019-08-24",
- "stats": {
- "jobs": {
- "total_jobs": 0,
- "waiting_jobs": 0,
- "running_jobs": 0,
- "stopped_jobs": 0,
- "completed_jobs": 0,
- "in_queue_jobs": 0,
- "error_jobs": 0
}, - "pages": {
- "total_pages": 0,
- "scraped_pages": 0,
- "missed_pages": 0
}, - "items_count": 0,
- "runtime": "00:00:00",
- "status_codes": {
- "status_200": 0,
- "status_301": 0,
- "status_302": 0,
- "status_401": 0,
- "status_403": 0,
- "status_404": 0,
- "status_429": 0,
- "status_500": 0
}, - "success_rate": 0,
- "logs": {
- "total_logs": 0,
- "debug_logs": 0,
- "info_logs": 0,
- "warning_logs": 0,
- "error_logs": 0,
- "critical_logs": 0
}, - "coverage": {
- "total_items": 0,
- "total_items_coverage": 0,
- "fields": [
- {
- "field_name": "",
- "field_count": 0,
- "field_coverage": 0
}
]
}
}
}
]
Retrieve stats of all spider jobs in a time range, dates must be in YYYY-mm-dd format.
pid required | string |
sid required | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
start_date required | string Start of date in format [%Y-%m-%d] (e.g. 2023-04-01). |
end_date required | string End of date in format [%Y-%m-%d] (e.g. 2023-06-02). |
offset | integer Offset between your local timezone and UTC in 'minutes'. |
[- {
- "date": "2019-08-24",
- "stats": {
- "jobs": {
- "total_jobs": 0,
- "waiting_jobs": 0,
- "running_jobs": 0,
- "stopped_jobs": 0,
- "completed_jobs": 0,
- "in_queue_jobs": 0,
- "error_jobs": 0
}, - "pages": {
- "total_pages": 0,
- "scraped_pages": 0,
- "missed_pages": 0
}, - "items_count": 0,
- "runtime": "00:00:00",
- "status_codes": {
- "status_200": 0,
- "status_301": 0,
- "status_302": 0,
- "status_401": 0,
- "status_403": 0,
- "status_404": 0,
- "status_429": 0,
- "status_500": 0
}, - "success_rate": 0,
- "logs": {
- "total_logs": 0,
- "debug_logs": 0,
- "info_logs": 0,
- "warning_logs": 0,
- "error_logs": 0,
- "critical_logs": 0
}, - "coverage": {
- "total_items": 0,
- "total_items_coverage": 0,
- "fields": [
- {
- "field_name": "",
- "field_count": 0,
- "field_coverage": 0
}
]
}
}
}
]
Retrieve all the jobs of a spider executed in a range of dates.
pid required | string |
sid required | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
start_date required | string Start of date in format [%Y-%m-%d] (e.g. 2023-04-01). |
end_date required | string End of date in format [%Y-%m-%d] (e.g. 2023-06-02). |
offset | integer Offset between your local timezone and UTC in 'minutes'. |
{- "count": 0,
- "results": [
- {
- "jid": 0,
- "spider": "string",
- "created": "2019-08-24T14:15:22Z",
- "name": "string",
- "lifespan": 0,
- "total_response_bytes": 18446744073709552000,
- "item_count": 18446744073709552000,
- "request_count": 18446744073709552000,
- "args": [
- {
- "name": "string",
- "value": "string"
}
], - "env_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": true
}
], - "tags": [
- {
- "name": "string"
}
], - "job_status": "string",
- "cronjob": 0,
- "data_expiry_days": 65535,
- "data_status": "PERSISTENT",
- "stats": {
- "jobs": {
- "total_jobs": 0,
- "waiting_jobs": 0,
- "running_jobs": 0,
- "stopped_jobs": 0,
- "completed_jobs": 0,
- "in_queue_jobs": 0,
- "error_jobs": 0
}, - "pages": {
- "total_pages": 0,
- "scraped_pages": 0,
- "missed_pages": 0
}, - "items_count": 0,
- "runtime": "00:00:00",
- "status_codes": {
- "status_200": 0,
- "status_301": 0,
- "status_302": 0,
- "status_401": 0,
- "status_403": 0,
- "status_404": 0,
- "status_429": 0,
- "status_500": 0
}, - "success_rate": 0,
- "logs": {
- "total_logs": 0,
- "debug_logs": 0,
- "info_logs": 0,
- "warning_logs": 0,
- "error_logs": 0,
- "critical_logs": 0
}, - "coverage": {
- "total_items": 0,
- "total_items_coverage": 0,
- "fields": [
- {
- "field_name": "",
- "field_count": 0,
- "field_coverage": 0
}
]
}
}
}
]
}
Retrieve all the spiders executed in a range of dates.
pid required | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
start_date required | string Start of date in format [%Y-%m-%d] (e.g. 2023-04-01). |
end_date required | string End of date in format [%Y-%m-%d] (e.g. 2023-06-02). |
offset | integer Offset between your local timezone and UTC in 'minutes'. |
{- "count": 0,
- "results": [
- {
- "sid": 0,
- "name": "string",
- "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
- "env_vars": [
- {
- "evid": 0,
- "name": "string",
- "value": "string",
- "masked": true
}
], - "data_status": "PERSISTENT",
- "data_expiry_days": 0
}
]
}