POST api/GitLab

Request Information

URI Parameters

None.

Body Parameters

GitLabEventDto
NameDescriptionTypeAdditional information
object_kind

string

None.

object_attributes

GitLabObjectAttributesDto

None.

issue

GitLabIssueDto

None.

user

GitLabUserDto

None.

project_id

integer

None.

assignee

GitLabUserDto

None.

Request Formats

application/json, text/json

Sample:
{
  "object_kind": "sample string 1",
  "object_attributes": {
    "id": 1,
    "title": "sample string 2",
    "description": "sample string 3",
    "action": "sample string 4",
    "url": "sample string 5",
    "project_id": 6,
    "iid": 7,
    "noteable_type": "sample string 8",
    "noteable_id": 9,
    "note": "sample string 10",
    "assignee_id": 11
  },
  "issue": {
    "id": 1,
    "iid": 2,
    "title": "sample string 3",
    "description": "sample string 4",
    "assignee_id": 5,
    "project_id": 6,
    "state": "sample string 7",
    "assignee": {
      "Id": 1,
      "Name": "sample string 2",
      "Username": "sample string 3",
      "State": "sample string 4"
    },
    "labels": [
      "sample string 1",
      "sample string 2"
    ]
  },
  "user": {
    "Id": 1,
    "Name": "sample string 2",
    "Username": "sample string 3",
    "State": "sample string 4"
  },
  "project_id": 2,
  "assignee": {
    "Id": 1,
    "Name": "sample string 2",
    "Username": "sample string 3",
    "State": "sample string 4"
  }
}

text/html

Sample:
{"object_kind":"sample string 1","object_attributes":{"id":1,"title":"sample string 2","description":"sample string 3","action":"sample string 4","url":"sample string 5","project_id":6,"iid":7,"noteable_type":"sample string 8","noteable_id":9,"note":"sample string 10","assignee_id":11},"issue":{"id":1,"iid":2,"title":"sample string 3","description":"sample string 4","assignee_id":5,"project_id":6,"state":"sample string 7","assignee":{"Id":1,"Name":"sample string 2","Username":"sample string 3","State":"sample string 4"},"labels":["sample string 1","sample string 2"]},"user":{"Id":1,"Name":"sample string 2","Username":"sample string 3","State":"sample string 4"},"project_id":2,"assignee":{"Id":1,"Name":"sample string 2","Username":"sample string 3","State":"sample string 4"}}

application/xml, text/xml

Sample:
<GitLabEventDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TenacIT.Bot.Dtos.GitLab">
  <assignee>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <State>sample string 4</State>
    <Username>sample string 3</Username>
  </assignee>
  <issue>
    <assignee>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <State>sample string 4</State>
      <Username>sample string 3</Username>
    </assignee>
    <assignee_id>5</assignee_id>
    <description>sample string 4</description>
    <id>1</id>
    <iid>2</iid>
    <labels xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </labels>
    <project_id>6</project_id>
    <state>sample string 7</state>
    <title>sample string 3</title>
  </issue>
  <object_attributes>
    <action>sample string 4</action>
    <assignee_id>11</assignee_id>
    <description>sample string 3</description>
    <id>1</id>
    <iid>7</iid>
    <note>sample string 10</note>
    <noteable_id>9</noteable_id>
    <noteable_type>sample string 8</noteable_type>
    <project_id>6</project_id>
    <title>sample string 2</title>
    <url>sample string 5</url>
  </object_attributes>
  <object_kind>sample string 1</object_kind>
  <project_id>2</project_id>
  <user>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <State>sample string 4</State>
    <Username>sample string 3</Username>
  </user>
</GitLabEventDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.