You can call this operation to view the function code package.

Request headers

This operation uses only common request headers. For more information, see Common parameters.

Request syntax

GET /services/{serviceName.qualifier}/functions/{functionName}/code 

Request parameters

Parameter Type Position Required Example Description
serviceName String Path Yes service_name

The name of the service.

functionName String Path Yes function_name

The name of the function.

qualifier String Path No test

The version or alias of the service.

Response parameters

Parameter Type Example Description
checksum String 2825179536350****

The CRC-64 value of the function code package.

url String***

The OSS path where the function code package is stored.


Sample requests

GET /2016-08-15/services/service_name.test/functions/function_name/code HTTP/1.1
Common request headers

Sample success responses

JSON format

HTTP/1.1 200 OK
Common response headers
  "url": "***",
  "checksum": "2825179536350****"