All URIs are relative to https://localhost:3000/api/v1
Method | HTTP request | Description |
---|---|---|
get_trackers | GET /trackers | List all tracker ids |
get_trackers_detail | GET /trackers/detail | List all tracker details |
get_trackers_uuid | GET /trackers/{uuid} | Show detail for one tracker |
post_trackers | POST /trackers | Create a tracker |
put_trackers | PUT /trackers | Sync a tracker |
Array<TrackerIds> get_trackers
List all tracker ids
List all tracker ids
# load the gem
require 'bmx_api_ruby'
# setup authorization
BmxApiRuby.configure do |config|
# Configure HTTP basic authorization: base
config.username = 'YOUR USERNAME'
config.password = 'YOUR PASSWORD'
end
api_instance = BmxApiRuby::TrackersApi.new
begin
#List all tracker ids
result = api_instance.get_trackers
p result
rescue BmxApiRuby::ApiError => e
puts "Exception when calling TrackersApi->get_trackers: #{e}"
end
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
Array<TrackerDetail> get_trackers_detail
List all tracker details
List all tracker details
# load the gem
require 'bmx_api_ruby'
# setup authorization
BmxApiRuby.configure do |config|
# Configure HTTP basic authorization: base
config.username = 'YOUR USERNAME'
config.password = 'YOUR PASSWORD'
end
api_instance = BmxApiRuby::TrackersApi.new
begin
#List all tracker details
result = api_instance.get_trackers_detail
p result
rescue BmxApiRuby::ApiError => e
puts "Exception when calling TrackersApi->get_trackers_detail: #{e}"
end
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
TrackerDetail get_trackers_uuid(uuid, opts)
Show detail for one tracker
Show detail for one tracker
# load the gem
require 'bmx_api_ruby'
# setup authorization
BmxApiRuby.configure do |config|
# Configure HTTP basic authorization: base
config.username = 'YOUR USERNAME'
config.password = 'YOUR PASSWORD'
end
api_instance = BmxApiRuby::TrackersApi.new
uuid = "uuid_example" # String | tracker UUID
opts = {
issues: true # BOOLEAN | include issues
}
begin
#Show detail for one tracker
result = api_instance.get_trackers_uuid(uuid, opts)
p result
rescue BmxApiRuby::ApiError => e
puts "Exception when calling TrackersApi->get_trackers_uuid: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
uuid | String | tracker UUID | |
issues | BOOLEAN | include issues | [optional] |
- Content-Type: Not defined
- Accept: application/json
TrackerIds post_trackers(type, name, opts)
Create a tracker
Create a GitHub tracker.
# load the gem
require 'bmx_api_ruby'
# setup authorization
BmxApiRuby.configure do |config|
# Configure HTTP basic authorization: base
config.username = 'YOUR USERNAME'
config.password = 'YOUR PASSWORD'
end
api_instance = BmxApiRuby::TrackersApi.new
type = "type_example" # String | tracker type
name = "name_example" # String | tracker name
opts = {
ghsync: true # BOOLEAN | GH sync on create
}
begin
#Create a tracker
result = api_instance.post_trackers(type, name, opts)
p result
rescue BmxApiRuby::ApiError => e
puts "Exception when calling TrackersApi->post_trackers: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
type | String | tracker type | |
name | String | tracker name | |
ghsync | BOOLEAN | GH sync on create | [optional] |
- Content-Type: multipart/form-data
- Accept: application/json
Status put_trackers(uuid)
Sync a tracker
Sync a GitHub tracker.
# load the gem
require 'bmx_api_ruby'
# setup authorization
BmxApiRuby.configure do |config|
# Configure HTTP basic authorization: base
config.username = 'YOUR USERNAME'
config.password = 'YOUR PASSWORD'
end
api_instance = BmxApiRuby::TrackersApi.new
uuid = "uuid_example" # String | tracker uuid
begin
#Sync a tracker
result = api_instance.put_trackers(uuid)
p result
rescue BmxApiRuby::ApiError => e
puts "Exception when calling TrackersApi->put_trackers: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
uuid | String | tracker uuid |
- Content-Type: multipart/form-data
- Accept: application/json