icyleaf/gitlab.cr

Support Project API

Closed this issue · 2 comments

Document: http://docs.gitlab.com/ce/api/projects.html

  • List projects - projects
    • List owned projects - owned_projects
    • List starred projects - starred_projects
    • List ALL projects - all_projects
    • Get single project - project
    • Get project events - project_events
    • Create project - create_project
    • Create project for user - create_project(user_id)
    • Edit project - edit_project
    • Fork project - fork_project
    • Star a project - star_project
    • Unstar a project - unstar_project
    • Archive a project - archive_project
    • Unarchive a project - unarchive_project
    • Remove project - delete_project
  • Team members
    • List project team members - project_members
    • Get project team member - project_member
    • Add project team member - add_project_member
    • Edit project team member - edit_project_member
    • Remove project team member - remove_project_member
    • Share project with group - share_project
  • Hooks
    • List project hooks - project_hooks
    • Get project hook - project_hook
    • Add project hook - add_project_hook
    • Edit project hook - edit_project_hook
    • Delete project hook - remove_project_hook
  • Branches
    • List branches - project_branchs
    • List single branch - project_branch
    • Protect single branch - protect_project_branch
    • Unprotect single branch - unprotect_project_branch
  • Admin fork relation
    • Create a forked from/to relation between existing projects. - create_fork_from
    • Delete an existing forked from relationship - remove_fork_from
  • Search for projects by name - project_search

Link to crystal-lang/crystal#1989 issue: HTTP::Request multipart/form-data handling

Currently, Crystal does not support multipart/form-data for HTTP::Request, so upload file api delay next release, when it finish or i find the solution. here is new issue #20 to finish it.