tencent cloud

$0 14-Day TrialExperience EdgeOne for acceleration and security protection!

Feedback

Cloud Log Service
DocumentationCloud Log Service
DocumentationCloud Log Service

Creating Shipping Task

Last updated: 2024-12-16 11:59:54

Feature Description

This API is used to create a shipping task.

Request

Request line

POST /deliverfunction

Sample request

POST /deliverfunction HTTP/1.1
Host: <Region>.cls.myqcloud.com
Authorization: <AuthorizationString>
Content-Type: application/json

{
"topic_id": "yyyy-yy-yy-yy-yyyyyyyy",
"names_pace": "test",
"function_name": "myfunction",
"qualifier": "$LATEST",
"max_wait": 60,
"max_size": 100
}

Request headers

No special request headers

Request parameters

Parameter
Type
Required
Description
topic_id
string
Yes
ID of the topic to which shipping rules belong
name_space
string
Yes
Namespace
function_name
string
Yes
Shipping function name
qualifier
string
Yes
Function version
max_size
int
No
Maximum number of messages shipped
max_wait
int
No
Maximum shipping wait duration, in seconds

Response

Sample response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 0

Response headers

No special response headers

Response parameters

None
Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon