Search
/subscriptions
GET /
Query Parameters
{ searchValue?: string, // Search keyword ids?: string // Subscription IDs list }
POST /
Request Body
{ type: string, // Subscription type schedule?: string, // Schedule interval_schedule?: { // Interval schedule type: string, value: number }, name?: string, // Name url: string, // Subscription URL whitelist?: string, // Whitelist blacklist?: string, // Blacklist branch?: string, // Branch dependences?: string, // Dependencies pull_type?: string, // Pull type pull_option?: object, // Pull options extensions?: string, // Extensions sub_before?: string, // Pre-execution script sub_after?: string, // Post-execution script schedule_type: string, // Schedule type alias: string, // Alias proxy?: string, // Proxy autoAddCron?: boolean, // Auto add cron task autoDelCron?: boolean // Auto delete cron task }
PUT /run
number[] // Array of subscription IDs
PUT /stop
PUT /disable
PUT /enable
GET /:id/log
PUT /status
{ ids: number[], // Array of subscription IDs status: string, // Status pid?: string, // Process ID log_path?: string // Log path }
GET /:id/logs
{ code: 200, data: ... }