Add a piece to a platform
curl --request POST \ --url https://cloud.activepieces.com/api/v1/pieces/ \ --header 'Content-Type: application/json' \ --data '{ "packageType": "ARCHIVE", "scope": "PROJECT", "pieceName": "<string>", "pieceVersion": "<string>", "pieceArchive": "<any>" }'
{}
ARCHIVE
PROJECT
The response is of type object.
object