SkillHub
Referenceimports

Import an external skill into a registry

POST
/imports

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/imports" \  -H "Content-Type: application/json" \  -d '{    "source": "string",    "targetRegistry": "string"  }'
{  "imported": [    {      "ref": "string",      "version": "string",      "provenance": {        "sourceKind": "github",        "sourceUrl": "string",        "sourceRef": "string",        "upstreamHash": "string",        "importedAt": "2019-08-24T14:15:22Z"      },      "structuralWarnings": []    }  ],  "failed": []}