{

"examples": {
  "request": {
    "json": {
      "release": {
        "name": "Release Name",
        "site_id": 1,
        "department_id": 1,
        "description": "description",
        "state": 1,
        "plan": "plan description" ,
        "build": "build description",
        "deploy": "deploy description",
        "planned_start_at": "2025-01-01 00:00",
        "planned_end_at": "2025-01-01 05:00" ,
        "assignee": { "email": "john.doe@email.com" },
        "requester": { "email": "john.doe@email.com" },
        "priority": "High",
        "add_to_tag_list": "tag1",
        "remove_from_tag_list": "tag2",
        "tag_list": "tag1",
        "custom_fields_values_attributes": [
          { "id": 10, "custom_field_id": 1, "value": "content" },
          { "id": 100, "custom_field_id": 2, "value": "1" }
        ],
        "custom_fields_values": {
          "custom_fields_value": [
            { "name": "Text custom field", "value": "content" },
            { "name": "User custom field", "user_value": { "email": "john.doe@email.com" } }
          ]
        },
        "approval_levels_attributes": [
          { "id": "1", "approver_ids": "1", "approval_condition": "1" }
        ],
        "itsm_change_ids": [100],
        "configuration_item_ids":[100]
      }
    }
  },
  "response": {
    "json": {
      "release": {
        "id": "10000",
        "number": "1000",
        "name": "Release Name",
        "description": "description",
        "state": "New",
        "plan": "plan description" ,
        "build": "build description",
        "deploy": "deploy description",
        "planned_start_at": "2025-01-01T00:00:00.000+01:00",
        "planned_end_at": "2025-01-01T05:00:00.000+01:00" ,
        "site": {
          "id": "1",
          "name": "Austin TX, USA",
          "location": "AUS",
          "description": "Austin TX, USA"
        },
        "department": {
          "id": "1",
          "name": "Support",
          "description": "Support Department",
          "default_assignee_id": "1"
        },
        "priority": "High",
        "created_by": {
          "id": "1",
          "account_id": "1",
          "user_id": "1",
          "email": "john.doe@email.com",
          "name": "John Doe",
          "disabled": false,
          "avatar": {
            "type": "initials",
            "color": "#fd4165",
            "initials": "JD"
          }
      },
        "assignee": {
          "group_id": "1",
          "is_user": "true",
          "id":  "1",
          "name": "John Doe",
          "email": "john.doe@email.com",
          "avatar": {
            "type": "initials",
            "color": "#fd4165",
            "initials": "JD"
          }
        },
        "requester": {
          "id": "1",
          "account_id": "1",
          "user_id": "1",
          "email": "john.doe@email.com",
          "name": "John Doe",
          "disabled": false,
          "avatar": {
            "type": "initials",
            "color": "#fd4165",
            "initials": "JD"
          }
        },
        "custom_fields_values": [
          {
            "id": "10",
            "custom_field_id": "1",
            "name": "Text custom field",
            "value": "content",
            "options": "",
            "type_name": "Text"
          },
          {
            "id": "100",
            "custom_field_id": "2",
            "name": "User custom field",
            "value": "1",
            "options": "",
            "type_name": "User",
            "user": {
              "group_id": 1,
              "is_user": true,
              "id": 1,
              "name": "John Doe",
              "email": "john.doe@email.com"
            }
          }
        ],
        "tags": [{ "id": 1, "name": "tag1", "taggings_count": 1 }],
        "approvers": [
          {
            "group_id": "1",
            "is_user": "true",
            "id":  "1",
            "name": "John Doe",
            "email": "john.doe@email.com",
            "avatar": {
              "type": "initials",
              "color": "#fd4165",
              "initials": "JD"
            }
          }
        ],
        "changes": [{ "id": "100", "href": "https://mydomain.com/changes/100"}],
        "configuration_items": [{ "id": "100", "href": "https://mydomain.com/configuration_items/100"}]
      }
    }
  }
}

}