Project

General

Profile

Actions

Bug #10359

closed

API doc for /api/v2/locations does not mention organizations

Added by Bryan Kearney almost 9 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Organizations and Locations
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1216231
Description of problem:
The API documentation for /api/v2/locations (at https://sat.example.com/apidoc/v2/locations.html) does not make any mention of organizations. This is problematic because it is, in fact, possible to associate a location with an organization by POSTing to /api/v2/locations, and also presumably by PUTting to /api/v2/locations/:id.

Version-Release number of selected component (if applicable):
Tested against Satellite-6.1.0-RHEL-6-20150424.0 and Satellite-6.1.0-RHEL-7-20150424.0.

How reproducible:
100%

Steps to Reproduce:
1.Go to https://sat.example.com/apidoc/v2/locations.html. Search for "organization".

Actual results:
No mention of organizations.

Expected results:
Mention of the fact that one can associate a location with zero or more organizations.

Additional info:


Related issues 2 (1 open1 closed)

Related to Foreman - Tracker #27680: API bugs that need workarounds in foreman-ansible-modulesNew

Actions
Related to Katello - Bug #28907: API doc for /api/v2/organizations does not mention locations in create/updateClosedOleh FedorenkoActions
Actions #1

Updated by Dominic Cleal almost 9 years ago

  • Category set to Organizations and Locations
Actions #2

Updated by Evgeni Golov over 4 years ago

  • Assignee set to Oleh Fedorenko

same applies for the organizations API, it does not mention locations

Actions #3

Updated by Oleh Fedorenko over 4 years ago

  • Status changed from New to Assigned
Actions #4

Updated by The Foreman Bot over 4 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6892 added
Actions #5

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases 1.23.0 added
Actions #6

Updated by Oleh Fedorenko over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #7

Updated by Evgeni Golov over 4 years ago

  • Related to Tracker #27680: API bugs that need workarounds in foreman-ansible-modules added
Actions #8

Updated by Oleh Fedorenko about 4 years ago

  • Related to Bug #28907: API doc for /api/v2/organizations does not mention locations in create/update added
Actions

Also available in: Atom PDF