Navigation

  • index
  • modules |
  • next |
  • previous |
  • python-gitlab 1.9.0 documentation »
  • API examples »

Award Emojis¶

Reference¶

  • v4 API:

    • gitlab.v4.objects.ProjectIssueAwardEmoji

    • gitlab.v4.objects.ProjectIssueNoteAwardEmoji

    • gitlab.v4.objects.ProjectMergeRequestAwardEmoji

    • gitlab.v4.objects.ProjectMergeRequestNoteAwardEmoji

    • gitlab.v4.objects.ProjectSnippetAwardEmoji

    • gitlab.v4.objects.ProjectSnippetNoteAwardEmoji

    • gitlab.v4.objects.ProjectIssueAwardEmojiManager

    • gitlab.v4.objects.ProjectIssueNoteAwardEmojiManager

    • gitlab.v4.objects.ProjectMergeRequestAwardEmojiManager

    • gitlab.v4.objects.ProjectMergeRequestNoteAwardEmojiManager

    • gitlab.v4.objects.ProjectSnippetAwardEmojiManager

    • gitlab.v4.objects.ProjectSnippetNoteAwardEmojiManager

  • GitLab API: https://docs.gitlab.com/ce/api/award_emoji.html

Examples¶

List emojis for a resource:

emojis = obj.awardemojis.list()

Get a single emoji:

emoji = obj.awardemojis.get(emoji_id)

Add (create) an emoji:

emoji = obj.awardemojis.create({'name': 'tractor'})

Delete an emoji:

emoji.delete
# or
obj.awardemojis.delete(emoji_id)

Table of Contents

  • Award Emojis
    • Reference
    • Examples

Previous topic

Access requests

Next topic

Badges

This Page

  • Show Source

Quick search

Navigation

  • index
  • modules |
  • next |
  • previous |
  • python-gitlab 1.9.0 documentation »
  • API examples »
© Copyright 2013-2018, Gauvain Pocentek, Mika Mäenpää. Created using Sphinx 2.1.2.