#author("2024-09-07T09:13:37+00:00","default:hotate","hotate") #author("2025-01-09T10:46:21+00:00","default:hotate","hotate") #contents &tag(Redmine,API); * 目次 [#r2b2e7f4] #taglist(tag=Redmine) * 概要 [#rd6d969b] ** [[リファレンス]] [#xf104c44] - [[Rest api - Redmine>http://www.redmine.org/projects/redmine/wiki/Rest_api]] Redmine exposes some of its data through a REST API. This API provides access and basic CRUD operations (create, update, delete) for the resources described below. The API supports both XML and JSON formats. - [[利用・活用 Redmine API - ファーエンドテクノロジー株式会社>https://www.farend.co.jp/blog/2017/02/redmine-api/]] (2017/02/08) APIを使用するのに最も簡単な方法はLinuxなどで利用できるcurlコマンドを使用する方法です。 ** [[Ruby]] [#gf8c9337] - [[Rest api with ruby - r-labs>http://www.r-labs.org/projects/r-labs/wiki/Rest_api_with_ruby]] Redmine の REST API は Rails の RESTful の仕様にあわせて作成されています。そのため、 ActiveResource を使用するのが一番素直な方法でしょう。 ** [[Python]] [#yc259928] - [[maxtepkeev/python-redmine: Python Redmine is a library for communicating with a Redmine project management application>https://github.com/maxtepkeev/python-redmine]] Python Redmine is a library for communicating with a Redmine project management application - [[Issue — Python-Redmine documentation>https://python-redmine.com/resources/issue.html]] To get access to it you have to call redmine.issue where redmine is a configured redmine object. - [[Python Redmineを使用してRedmineを操作する - Qiita>https://qiita.com/mima_ita/items/1a939db423d8ee295c85]] Python RedmineはRedmineと通信を行うPythonのライブラリである。 - [[Python Redmineを使用してRedmineを操作する #Python - Qiita>https://qiita.com/mima_ita/items/1a939db423d8ee295c85]] ####単一チケットの取得 redmine.issue.get()でチケットIDを指定する。 - [[[Python] Redmine APIで情報を読み込む #Python3 - Qiita>https://qiita.com/flcn-x/items/89e8f709277c9fbf6275]] プロジェクト管理SWであるRedmineに関して、Pythonを用いて情報を読み込む操作をまとめた。 * [[API]] [#o97bda86] ** チケット [#s23cd182] - [[RubyスクリプトからRedmineにチケット登録する - Qiita>http://qiita.com/takashibagura/items/2f50b2f14f7db3a5581d]] たくさんのチケットを一気に登録したいときにどうぞ。 - [[Rest Issues - r-labs>http://www.r-labs.org/projects/r-labs/wiki/Rest_Issues]] redmine.org の Rest_Issues (version 34)の日本語訳です。 - [[RedmineのREST APIで特定プロジェクトの全チケットを取得しようとして失敗する - >& STDOUT>http://snsk.hateblo.jp/entry/2014/02/08/141842]] Openしか取ってこれていないことが判明(Redmine 2.3.1.stable) ** プロジェクト [#cb52787a] - [[Feature #12921: REST-API: filter projects by status - Redmine>https://www.redmine.org/issues/12921]] But using "closed" with json doesnt seem to work: /redmine/projects.json?closed=1 * アーキテクチャ [#u7a4b33c] ** チケット [#e4afaec9] - [[Redmine チケットのデータ構造 #MySQL - Qiita>https://qiita.com/s_hanzawa/items/5471a92556adb824c074]] Redmine チケットのデータベース上のデータ構造について調べました