Project

General

Profile

Actions

Bug #22057

closed

Inconsistency in documentation and API

Added by Oleh Fedorenko over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

There is inconsistency between apidocs documentation and plugin's API.

Apidocs says that there is Template resource with two routes:
/api/template/[import|export]
when API says to use /api/templates/[import|export]


Related issues 1 (0 open1 closed)

Has duplicate Templates - Bug #23901: CLI getting 404 on import-templatesResolved06/12/2018Actions
Actions #1

Updated by Oleh Fedorenko over 6 years ago

  • Pull request https://github.com/theforeman/foreman_templates/pull/72 added

Also it would be better if Template controller was actually TemplatesController to save consistency in routes.

Actions #2

Updated by Marek Hulán over 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Oleh Fedorenko
Actions #3

Updated by Oleh Fedorenko about 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Ondřej Pražák about 6 years ago

  • translation missing: en.field_release set to 264
Actions #5

Updated by Martin Bacovsky almost 6 years ago

  • Has duplicate Bug #23901: CLI getting 404 on import-templates added
Actions

Also available in: Atom PDF