Hướng dẫn AgentFlow

upload_app_package

POST/app-packages
AuthorizationBearer <token>

A service principal's credential, or a person's access token, AgentFlow's own or an installed app's. A service principal's effective permissions are its role permissions intersected with the credential's scopes.

In: header

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Documentation-only shape of the multipart body: one package part.

Response Body

application/json

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/app-packages" \  -F package="string"
{  "digest": "string",  "package_id": "string",  "signer": "string",  "version": "string"}