Skip to main content
POST
/
registry
/
function
cURL
curl --request POST \
  --url https://localhost:8080/v1/registry/function \
  --header 'Content-Type: multipart/form-data' \
  --form public=true \
  --form 'organization=<string>' \
  --form function=@example-file
{
  "hash": "<string>",
  "name": "<string>",
  "organization": "<string>",
  "public": true,
  "tag": "<string>"
}
Functions can be queried from the UserInfo endpoint.

Body

multipart/form-data
function
file
required

function

public
boolean

public

organization
string

organization

Response

OK

hash
string
name
string
organization
string
public
boolean
tag
string
I