Skip to content
Snippets Groups Projects
Select Git revision
  • ag-test
  • rs-test
  • master default protected
  • test-me-pa
  • mksionek-master-patch-52381
  • new-branch-10
  • test-conflicts
  • test-suggestions
  • alejandro-test
  • patch-25
  • winh-test-image-doscussion
  • stg-lfs-image-test-2
  • stg-lfs-image-test
  • test42016
  • issue_42016
  • issue-32709
  • add-codeowners
  • ClemMakesApps-master-patch-62759
  • bvl-staging-test
  • bvl-merge-base-api
  • v9.2.0-rc6 protected
  • v9.2.0-rc5 protected
  • v9.2.0-rc4 protected
  • v9.2.0-rc3 protected
  • v9.1.4 protected
  • v9.2.0-rc2 protected
  • v9.2.0-rc1 protected
  • v9.1.3 protected
  • v8.17.6 protected
  • v9.0.7 protected
  • v9.1.2 protected
  • v9.1.1 protected
  • v9.2.0.pre protected
  • v9.1.0 protected
  • v9.1.0-rc7 protected
  • v9.1.0-rc6 protected
  • v9.0.6 protected
  • v9.1.0-rc5 protected
  • v9.1.0-rc4 protected
  • v9.1.0-rc3 protected
40 results

notes.md

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.

    List notes

    List project wall notes

    Get a list of project wall notes.

    GET /projects/:id/notes
    [
      {
        "id": 522,
        "body": "The solution is rather tricky",
        "author": {
          "id": 1,
          "username": "john_smith",
          "email": "john@example.com",
          "name": "John Smith",
          "blocked": false,
          "created_at": "2012-05-23T08:00:58Z"
        },
        "created_at": "2012-11-27T19:16:44Z"
      }
    ]

    Parameters:

    • id (required) - The ID of a project

    List issue notes

    Get a list of issue notes.

    GET /projects/:id/issues/:issue_id/notes

    Parameters:

    • id (required) - The ID of a project
    • issue_id (required) - The ID of an issue

    List snippet notes

    Get a list of snippet notes.

    GET /projects/:id/snippets/:snippet_id/notes

    Parameters:

    • id (required) - The ID of a project
    • snippet_id (required) - The ID of a snippet

    Single note

    Single wall note

    Get a wall note.

    GET /projects/:id/notes/:note_id

    Parameters:

    • id (required) - The ID of a project
    • note_id (required) - The ID of a wall note

    Single issue note

    Get an issue note.

    GET /projects/:id/issues/:issue_id/notes/:note_id

    Parameters:

    • id (required) - The ID of a project
    • issue_id (required) - The ID of a project issue
    • note_id (required) - The ID of an issue note

    Single snippet note

    Get a snippet note.

    GET /projects/:id/issues/:snippet_id/notes/:note_id

    Parameters:

    • id (required) - The ID of a project
    • snippet_id (required) - The ID of a project snippet
    • note_id (required) - The ID of an snippet note

    New note

    New wall note

    Create a new wall note.

    POST /projects/:id/notes

    Parameters:

    • id (required) - The ID of a project
    • body (required) - The content of a note

    Will return created note with status 201 Created on success, 400 Bad Request if the body attribute is missing or 404 Not found on fail.

    New issue note

    Create a new issue note.

    POST /projects/:id/issues/:issue_id/notes

    Parameters:

    • id (required) - The ID of a project
    • issue_id (required) - The ID of an issue
    • body (required) - The content of a note

    Will return created note with status 201 Created on success, 400 Bad Request if the body attribute is missing or 404 Not found on fail.

    New snippet note

    Create a new snippet note.

    POST /projects/:id/snippets/:snippet_id/notes

    Parameters:

    • id (required) - The ID of a project
    • snippet_id (required) - The ID of an snippet
    • body (required) - The content of a note

    Will return created note with status 201 Created on success, 400 Bad Request if the body attribute is missing or 404 Not found on fail.