Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

Inconsistent naming in area and iterations Response #4589

Open
sahil143 opened this issue Nov 27, 2018 · 4 comments
Open

Inconsistent naming in area and iterations Response #4589

sahil143 opened this issue Nov 27, 2018 · 4 comments

Comments

@sahil143
Copy link
Collaborator

Issue Overview

Response for https://prod-preview.openshift.io/api/spaces/${SPACE_ID}/iterations

{
 data: [
       { 
         attributes: {
            parent_path: "/",
            resolved_parent_path: "/ "
            ...
         }
         ...
       }
       ...
]}

Response for https://prod-preview.openshift.io/api/spaces/${SPACE_ID}/areas

{
 data: [
       { 
         attributes: {
            parent_path: "/",
            parent_path_resolved: "/ "
            ...
         }
         ...
       }
       ...
]}

Either the name should be resolved_parent_path or parent_path_resolved?
cc @kwk @jarifibrahim

@kwk
Copy link
Contributor

kwk commented Nov 27, 2018

all pain no gain

@kwk kwk closed this as completed Nov 27, 2018
@joshuawilson
Copy link
Member

@sahil143 if this is something that really bothers you, maybe you should just make a PR to change it.

@joshuawilson
Copy link
Member

@sahil143 please add labels

@kpiwko
Copy link

kpiwko commented Jan 17, 2019

Marking this as a bug - it is API UX bug.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants