{
  "opencollection": "1.0.0",
  "info": {
    "name": "GitLab access_requests draft_notes API",
    "version": "v4"
  },
  "items": [
    {
      "info": {
        "name": "draft_notes",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "getApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v4/projects/:id/merge_requests/:merge_request_iid/draft_notes",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of a project"
              },
              {
                "name": "merge_request_iid",
                "value": "",
                "type": "path",
                "description": "The ID of a merge request"
              }
            ]
          },
          "docs": "Get a list of merge request draft notes"
        },
        {
          "info": {
            "name": "postApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotes",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v4/projects/:id/merge_requests/:merge_request_iid/draft_notes",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of a project."
              },
              {
                "name": "merge_request_iid",
                "value": "",
                "type": "path",
                "description": "The ID of a merge request."
              }
            ]
          },
          "docs": "Create a new draft note"
        },
        {
          "info": {
            "name": "getApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesDraftNoteId",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v4/projects/:id/merge_requests/:merge_request_iid/draft_notes/:draft_note_id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of a project"
              },
              {
                "name": "merge_request_iid",
                "value": "",
                "type": "path",
                "description": "The ID of a merge request"
              },
              {
                "name": "draft_note_id",
                "value": "",
                "type": "path",
                "description": "The ID of a draft note"
              }
            ]
          },
          "docs": "Get a single draft note"
        },
        {
          "info": {
            "name": "putApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesDraftNoteId",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/api/v4/projects/:id/merge_requests/:merge_request_iid/draft_notes/:draft_note_id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of a project."
              },
              {
                "name": "merge_request_iid",
                "value": "",
                "type": "path",
                "description": "The ID of a merge request."
              },
              {
                "name": "draft_note_id",
                "value": "",
                "type": "path",
                "description": "The ID of a draft note"
              }
            ]
          },
          "docs": "Modify an existing draft note"
        },
        {
          "info": {
            "name": "deleteApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesDraftNoteId",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/api/v4/projects/:id/merge_requests/:merge_request_iid/draft_notes/:draft_note_id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of a project"
              },
              {
                "name": "merge_request_iid",
                "value": "",
                "type": "path",
                "description": "The ID of a merge request"
              },
              {
                "name": "draft_note_id",
                "value": "",
                "type": "path",
                "description": "The ID of a draft note"
              }
            ]
          },
          "docs": "Delete a draft note"
        },
        {
          "info": {
            "name": "putApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesDraftNoteIdPublish",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/api/v4/projects/:id/merge_requests/:merge_request_iid/draft_notes/:draft_note_id/publish",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of a project"
              },
              {
                "name": "merge_request_iid",
                "value": "",
                "type": "path",
                "description": "The ID of a merge request"
              },
              {
                "name": "draft_note_id",
                "value": "",
                "type": "path",
                "description": "The ID of a draft note"
              }
            ]
          },
          "docs": "Publish a pending draft note"
        },
        {
          "info": {
            "name": "postApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesBulkPublish",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v4/projects/:id/merge_requests/:merge_request_iid/draft_notes/bulk_publish",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of a project"
              },
              {
                "name": "merge_request_iid",
                "value": "",
                "type": "path",
                "description": "The ID of a merge request"
              }
            ]
          },
          "docs": "Bulk publish all pending draft notes"
        }
      ]
    }
  ],
  "bundled": true
}