Giter VIP home page Giter VIP logo

gitlab-event-types's People

Contributors

lawvs avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

gitlab-event-types's Issues

`Changes` is missing undocumented property `milestone_id`

From a webhook I received:

{
	"object_kind": "merge_request",
	"event_type": "merge_request",
	// ...
	"changes": {
		"milestone_id": { "previous": null, "current": 4287993 },
		"updated_at": {
			"previous": "2023-09-26 20:47:40 UTC",
			"current": "2023-09-26 21:09:07 UTC"
		},
		"updated_by_id": { "previous": 15780915, "current": 1769747 }
	}
}

`MergeRequestEvent` is missing `changes.draft` and `changes.description`

In MergeRequestEvent, Changes can contain a description, a draft and an assignees key.

The draft key is documented at https://docs.gitlab.com/ee/user/project/integrations/webhook_events.html#merge-request-events, but the description is not documented.

For example, in a webhook I received, I got this changes object:

{
	"changes": {
		"description": {
			"previous": "This is a previous description",
			"current": "This is the new description"
		},
		"last_edited_at": {
			"previous": "2023-09-22 19:04:21 UTC",
			"current": "2023-09-22 19:22:19 UTC"
		},
		"last_edited_by_id": { "previous": 15780915, "current": 1769747 },
		"updated_at": {
			"previous": "2023-09-22 19:06:44 UTC",
			"current": "2023-09-22 19:22:19 UTC"
		},
		"updated_by_id": { "previous": 15780915, "current": 1769747 }
	}
}
{
	"changes": {
		"assignees": {
			"previous": [],
			"current": [
				{
					"id": 1769747,
					"name": "Nato Boram",
					"username": "NatoBoram",
					"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/1769747/avatar.png",
					"email": "[email protected]"
				}
			]
		}
	}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.