Hướng dẫn AgentFlow

lint_app_package

POST/app-packages/lint
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/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/lint" \  -F package="string"
{  "platform_version": "string",  "problems": [    {      "code": "string",      "fix": "string",      "message": "string",      "object": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "kind": "string",        "logical_key": "string",        "name": "string"      },      "path": "string"    }  ]}