Properties
| Name | Type | Description |
|---|---|---|
| action | string | |
| enterprise | object | |
| installation | object | |
| organization | object | |
| package | object | Information about the package. |
| repository | object | |
| sender | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/webhook-package-published",
"title": "package published event",
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"published"
]
},
"enterprise": {
"$ref": "#/components/schemas/enterprise-webhooks"
},
"installation": {
"$ref": "#/components/schemas/simple-installation"
},
"organization": {
"$ref": "#/components/schemas/organization-simple-webhooks"
},
"package": {
"description": "Information about the package.",
"type": "object",
"properties": {
"created_at": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"ecosystem": {
"type": "string"
},
"html_url": {
"type": "string",
"format": "uri"
},
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"owner": {
"title": "User",
"type": "object",
"nullable": true,
"properties": {
"avatar_url": {
"type": "string",
"format": "uri"
},
"deleted": {
"type": "boolean"
},
"email": {
"type": "string",
"nullable": true
},
"events_url": {
"type": "string",
"format": "uri-template"
},
"followers_url": {
"type": "string",
"format": "uri"
},
"following_url": {
"type": "string",
"format": "uri-template"
},
"gists_url": {
"type": "string",
"format": "uri-template"
},
"gravatar_id": {
"type": "string"
},
"html_url": {
"type": "string",
"format": "uri"
},
"id": {
"type": "integer"
},
"login": {
"type": "string"
},
"name": {
"type": "string"
},
"node_id": {
"type": "string"
},
"organizations_url": {
"type": "string",
"format": "uri"
},
"received_events_url": {
"type": "string",
"format": "uri"
},
"repos_url": {
"type": "string",
"format": "uri"
},
"site_admin": {
"type": "boolean"
},
"starred_url": {
"type": "string",
"format": "uri-template"
},
"subscriptions_url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"enum": [
"Bot",
"User",
"Organization"
]
},
"url": {
"type": "string",
"format": "uri"
}
},
"required": [
"login",
"id"
]
},
"package_type": {
"type": "string"
},
"package_version": {
"type": "object",
"nullable": true,
"properties": {
"author": {
"title": "User",
"type": "object",
"nullable": true,
"properties": {
"avatar_url": {
"type": "string",
"format": "uri"
},
"deleted": {
"type": "boolean"
},
"email": {
"type": "string",
"nullable": true
},
"events_url": {
"type": "string",
"format": "uri-template"
},
"followers_url": {
"type": "string",
"format": "uri"
},
"following_url": {
"type": "string",
"format": "uri-template"
},
"gists_url": {
"type": "string",
"format": "uri-template"
},
"gravatar_id": {
"type": "string"
},
"html_url": {
"type": "string",
"format": "uri"
},
"id": {
"type": "integer"
},
"login": {
"type": "string"
},
"name": {
"type": "string"
},
"node_id": {
"type": "string"
},
"organizations_url": {
"type": "string",
"format": "uri"
},
"received_events_url": {
"type": "string",
"format": "uri"
},
"repos_url": {
"type": "string",
"format": "uri"
},
"site_admin": {
"type": "boolean"
},
"starred_url": {
"type": "string",
"format": "uri-template"
},
"subscriptions_url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"enum": [
"Bot",
"User",
"Organization"
]
},
"url": {
"type": "string",
"format": "uri"
}
},
"required": [
"login",
"id"
]
},
"body": {
"oneOf": [
{
"type": "string"
},
{
"type": "object"
}
]
},
"body_html": {
"type": "string"
},
"container_metadata": {
"type": "object",
"nullable": true,
"properties": {
"labels": {
"type": "object",
"nullable": true
},
"manifest": {
"type": "object",
"nullable": true
},
"tag": {
"type": "object",
"properties": {
"digest": {
"type": "string"
},
"name": {
"type": "string"
}
}
}
}
},
"created_at": {
"type": "string"
},
"description": {
"type": "string"
},
"docker_metadata": {
"type": "array",
"items": {
"type": "object",
"properties": {
"tags": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
},
"draft": {
"type": "boolean"
},
"html_url": {
"type": "string",
"format": "uri"
},
"id": {
"type": "integer"
},
"installation_command": {
"type": "string"
},
"manifest": {
"type": "string"
},
"metadata": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"name": {
"type": "string"
},
"npm_metadata": {
"type": "object",
"nullable": true,
"properties": {
"name": {
"type": "string"
},
"version": {
"type": "string"
},
"npm_user": {
"type": "string"
},
"author": {
"type": "object",
"nullable": true
},
"bugs": {
"type": "object",
"nullable": true
},
"dependencies": {
"type": "object"
},
"dev_dependencies": {
"type": "object"
},
"peer_dependencies": {
"type": "object"
},
"optional_dependencies": {
"type": "object"
},
"description": {
"type": "string"
},
"dist": {
"type": "object",
"nullable": true
},
"git_head": {
"type": "string"
},
"homepage": {
"type": "string"
},
"license": {
"type": "string"
},
"main": {
"type": "string"
},
"repository": {
"type": "object",
"nullable": true
},
"scripts": {
"type": "object"
},
"id": {
"type": "string"
},
"node_version": {
"type": "string"
},
"npm_version": {
"type": "string"
},
"has_shrinkwrap": {
"type": "boolean"
},
"maintainers": {
"type": "array",
"items": {
"type": "object"
}
},
"contributors": {
"type": "array",
"items": {
"type": "object"
}
},
"engines": {
"type": "object"
},
"keywords": {
"type": "array",
"items": {
"type": "string"
}
},
"files": {
"type": "array",
"items": {
"type": "string"
}
},
"bin": {
"type": "object"
},
"man": {
"type": "object"
},
"directories": {
"type": "object",
"nullable": true
},
"os": {
"type": "array",
"items": {
"type": "string"
}
},
"cpu": {
"type": "array",
"items": {
"type": "string"
}
},
"readme": {
"type": "string"
},
"installation_command": {
"type": "string"
},
"release_id": {
"type": "integer"
},
"commit_oid": {
"type": "string"
},
"published_via_actions": {
"type": "boolean"
},
"deleted_by_id": {
"type": "integer"
}
}
},
"nuget_metadata": {
"type": "array",
"nullable": true,
"items": {
"type": "object",
"properties": {
"id": {
"oneOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"name": {
"type": "string"
},
"value": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "object",
"properties": {
"url": {
"type": "string"
},
"branch": {
"type": "string"
},
"commit": {
"type": "string"
},
"type": {
"type": "string"
}
}
}
]
}
}
}
},
"package_files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"content_type": {
"type": "string"
},
"created_at": {
"type": "string"
},
"download_url": {
"type": "string",
"format": "uri"
},
"id": {
"type": "integer"
},
"md5": {
"type": "string",
"nullable": true
},
"name": {
"type": "string"
},
"sha1": {
"type": "string",
"nullable": true
},
"sha256": {
"type": "string",
"nullable": true
},
"size": {
"type": "integer"
},
"state": {
"type": "string",
"nullable": true
},
"updated_at": {
"type": "string"
}
},
"required": [
"download_url",
"id",
"name",
"sha256",
"sha1",
"md5",
"content_type",
"state",
"size",
"created_at",
"updated_at"
]
}
},
"package_url": {
"type": "string"
},
"prerelease": {
"type": "boolean"
},
"release": {
"type": "object",
"properties": {
"author": {
"title": "User",
"type": "object",
"nullable": true,
"properties": {
"avatar_url": {
"type": "string",
"format": "uri"
},
"deleted": {
"type": "boolean"
},
"email": {
"type": "string",
"nullable": true
},
"events_url": {
"type": "string",
"format": "uri-template"
},
"followers_url": {
"type": "string",
"format": "uri"
},
"following_url": {
"type": "string",
"format": "uri-template"
},
"gists_url": {
"type": "string",
"format": "uri-template"
},
"gravatar_id": {
"type": "string"
},
"html_url": {
"type": "string",
"format": "uri"
},
"id": {
"type": "integer"
},
"login": {
"type": "string"
},
"name": {
"type": "string"
},
"node_id": {
"type": "string"
},
"organizations_url": {
"type": "string",
"format": "uri"
},
"received_events_url": {
"type": "string",
"format": "uri"
},
"repos_url": {
"type": "string",
"format": "uri"
},
"site_admin": {
"type": "boolean"
},
"starred_url": {
"type": "string",
"format": "uri-template"
},
"subscriptions_url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"enum": [
"Bot",
"User",
"Organization"
]
},
"url": {
"type": "string",
"format": "uri"
}
},
"required": [
"login",
"id"
]
},
"created_at": {
"type": "string"
},
"draft": {
"type": "boolean"
},
"html_url": {
"type": "string",
"format": "uri"
},
"id": {
"type": "integer"
},
"name": {
"type": "string",
"nullable": true
},
"prerelease": {
"type": "boolean"
},
"published_at": {
"type": "string"
},
"tag_name": {
"type": "string"
},
"target_commitish": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
}
},
"required": [
"url",
"html_url",
"id",
"tag_name",
"target_commitish",
"name",
"draft",
"author",
"prerelease",
"created_at",
"published_at"
]
},
"rubygems_metadata": {
"type": "array",
"items": {
"$ref": "#/components/schemas/webhook-rubygems-metadata"
}
},
"source_url": {
"type": "string"
},
"summary": {
"type": "string"
},
"tag_name": {
"type": "string"
},
"target_commitish": {
"type": "string"
},
"target_oid": {
"type": "string"
},
"updated_at": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"id",
"version",
"summary",
"name",
"description",
"html_url",
"metadata",
"package_files",
"installation_command"
]
},
"registry": {
"type": "object",
"nullable": true,
"properties": {
"about_url": {
"type": "string",
"format": "uri"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"vendor": {
"type": "string"
}
},
"required": [
"about_url",
"name",
"type",
"url",
"vendor"
]
},
"updated_at": {
"type": "string",
"nullable": true
}
},
"required": [
"id",
"name",
"namespace",
"description",
"ecosystem",
"package_type",
"html_url",
"created_at",
"updated_at",
"owner",
"package_version",
"registry"
]
},
"repository": {
"$ref": "#/components/schemas/repository-webhooks"
},
"sender": {
"$ref": "#/components/schemas/simple-user-webhooks"
}
},
"required": [
"action",
"package",
"sender"
]
}