FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...

Redmine API

v1.0.1 Public

Redmine API

With this module you will be able to access and manage your Redmine account via API. It implements the most of the functionalities of the API.

Installation

Via CommandBox, by executing the next line (with parameters if needed):

box install redmine-api

Via box.json, just add the correspondent lines:

    "devDependencies":{
        "redmine-api":"1.0.0"
    },
    "installPaths":{
        "redmine-api":"models/redmine-api"
    },
    "dependencies":{
        "redmine-api":"^1.0.0"
    }

Credentials

You need to place your credentials in your Coldbox.cfc file, and also the urls to query, like this:

redmine = {
    username = "###########",
    password = "###########",
    timeSpentService = "https://YOUR_URL/time_entries.json",
    issueService = "https://YOUR_URL/issues/XXXXX/time_entries.json",
    projectService = "https://YOUR_URL/issues.json?query_id=555"
}

Those urls are the ones our library is using. If you want to query a different information, please add those here.

Retrieve objects

Once it's configured you can access everything in your Redmine account in this way:

redmine.domain.invoice.Invoice For invoices redmine.domain.customer For customers

etc.

Here are all the versions for this package. Please note that you can leverage CommandBox package versioning to install any package you like. Please refer to our managing package version guide for more information.

Version Created Last Update Published By Stable Actions
Current
1.0.1 Nov 05 2019 07:11 AM Nov 05 2019 07:11 AM
Version History
1.0.0 Jun 27 2018 06:36 AM Jun 27 2018 06:36 AM

 

No collaborators yet.
 
  • Jun 27 2018 06:23 AM
  • Nov 05 2019 07:11 AM
  • 408
  • 441
  • 4