python-gitlab
v2.3.1
  • Installation
  • gitlab CLI usage
  • Getting started with the API
  • FAQ
  • Switching to GitLab API v4
  • API examples
    • Access requests
    • Appearance
    • Applications
    • Award Emojis
      • Reference
      • Examples
    • Badges
    • Branches
    • Clusters
    • Broadcast messages
    • Commits
    • Deploy keys
    • Deployments
    • Discussions
    • Environments
    • Events
    • Epics
    • Features flags
    • Geo nodes
    • Groups
    • Issues
    • Issue boards
    • Labels
    • Notification settings
    • Merge requests
    • Merge request approvals settings
    • Milestones
    • Namespaces
    • Notes
    • Pages domains
    • Pipelines and Jobs
    • Projects
    • Protected branches
    • Runners
    • Project Remote Mirrors
    • Registry Repositories
    • Registry Repository Tags
    • Search API
    • Settings
    • Snippets
    • System hooks
    • Templates
    • Todos
    • Users and current user
    • Sidekiq metrics
    • Wiki pages
  • gitlab package
  • Release notes
  • ChangeLog - Moved to GitHub releases
python-gitlab
  • Docs »
  • API examples »
  • Award Emojis
  • Edit on GitHub | Report a bug

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)
Next Previous

© Copyright 2013-2018, Gauvain Pocentek, Mika Mäenpää Revision 3f585ad3.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: v2.3.1
Versions
master
latest
stable
v2.10.0
v2.9.0
v2.8.0
v2.7.1
v2.7.0
v2.6.0
v2.5.0
v2.4.0
v2.3.1
v2.3.0
v2.2.0
v2.1.2
v2.1.1
v2.1.0
v2.0.1
v2.0.0
v1.15.0
v1.14.0
v1.13.0
v1.12.1
v1.12.0
v1.11.0
v1.10.0
1.9.0
1.8.0
1.7.0
1.6.0
1.5.1
1.5.0
1.4.0
1.3.0
1.2.0
1.1.0
1.0.2
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.