mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
@@ -6,7 +6,7 @@ swagger: '2.0'
|
|||||||
info:
|
info:
|
||||||
title: IronFunctions
|
title: IronFunctions
|
||||||
description: The open source serverless platform.
|
description: The open source serverless platform.
|
||||||
version: "0.1.19"
|
version: "0.1.20"
|
||||||
# the domain of the service
|
# the domain of the service
|
||||||
host: "127.0.0.1:8080"
|
host: "127.0.0.1:8080"
|
||||||
# array of all schemes that your API supports
|
# array of all schemes that your API supports
|
||||||
@@ -290,16 +290,9 @@ paths:
|
|||||||
/tasks:
|
/tasks:
|
||||||
get:
|
get:
|
||||||
summary: Get next task.
|
summary: Get next task.
|
||||||
description: Gets the next task in the queue, ready for processing. Titan may return <=n tasks. Consumers should start processing tasks in order. Each returned task is set to `status` "running" and `started_at` is set to the current time. No other consumer can retrieve this task.
|
description: Gets the next task in the queue, ready for processing. Consumers should start processing tasks in order. No other consumer can retrieve this task.
|
||||||
tags:
|
tags:
|
||||||
- Tasks
|
- Tasks
|
||||||
parameters:
|
|
||||||
- name: "n"
|
|
||||||
in: query
|
|
||||||
default: 1
|
|
||||||
description: Number of tasks to return.
|
|
||||||
type: integer
|
|
||||||
format: int32
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: Task information
|
description: Task information
|
||||||
|
|||||||
Reference in New Issue
Block a user