[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Unable to add attributes to user via api



You have fullName in the metadata object, but it should be in the base object.

On Fri, Jun 17, 2016 at 4:57 PM, Marc Boorshtein <mboorshtein gmail com> wrote:
> When I create a user by posting to /oapi/v1/users with the following JSON:
>
> {"identites":[],"kind":"User","apiVersion":"v1","metadata":{"name":"testCreateUser","fullName":"Create
> New User"},"details":{},"code":0}
>
> the user gets created by fullName isn't set:
>
> {"kind":"User","apiVersion":"v1","metadata":{"name":"testCreateUser","selfLink":"/oapi/v1/users/testCreateUser","uid":"200ead3d-34cd-11e6-a8db-525400b18ee2","resourceVersion":"1096067","creationTimestamp":"2016-06-17T20:50:29Z"},"identities":null,"groups":null}
>
> Is this the correct behavior?  can only name be set?
>
>
> Thanks
>
> Marc
>
>
> _______________________________________________
> users mailing list
> users lists openshift redhat com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]