Project

General

Profile

Actions

Bug #13245

closed

Apipie json returns duplicated methods

Added by David Caro over 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

When retrieving the apipie json file to get the api definition, it returns a duplicated method (exactly the same method for the same resource with the same params overt the same http method):

For the full json file see https://gist.githubusercontent.com/fatmcgav/018a26acdf0aeb99b655/raw/e3f92d8c600a27893662336f6f1bdc5d3e9283c3/1.9.2-v2.json

The extract: {
"short_description": "List storage_domains for a compute resource",
"deprecated": null,
"http_method": "GET",
"api_url": "/api/compute_resources/:id/available_storage_domains"
}, {
"short_description": "List storage domains for a compute resource",
"deprecated": null,
"http_method": "GET",
"api_url": "/api/compute_resources/:id/available_storage_domains"
},

It's not a big issue, but probably an indicator that something fishy is going on.


Files

1.9.2-v2.json 1.9.2-v2.json 957 KB David Caro, 01/15/2016 10:55 AM

Related issues 1 (0 open1 closed)

Related to Foreman - Feature #6756: expose vmware resource pools and folders through APIClosedGreg Petras07/23/2014Actions
Actions

Also available in: Atom PDF