Skip to content
GitmoapAPIBeta
Schema

CreateAssetRequest

Registers a file to attach to a release, and returns a URL to upload it to.

Shape

  • content_typeAssetContentType (string)
  • nameAssetName (string)
  • sizeinteger · int640–∞The file's exact size in bytes. An upload of any other size is rejected.

Example

Synthesized example
{
"content_type": "content-type-7c2e",
"name": "payments-api",
"size": 7
}

Graph

Used inside

No schema contains this one.

Contains

No named schema inside.

Used by

Returned by 0 operations

No operation returns it directly.