You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Vimal Sharma (JIRA)" <ji...@apache.org> on 2016/12/22 08:17:58 UTC

[jira] [Resolved] (ATLAS-1397) [V2 API] DELETE should return deleted type guid with proper message

     [ https://issues.apache.org/jira/browse/ATLAS-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vimal Sharma resolved ATLAS-1397.
---------------------------------
    Resolution: Fixed

Thanks Apoorv for clarification. 

> [V2 API] DELETE should return deleted type guid with proper message
> -------------------------------------------------------------------
>
>                 Key: ATLAS-1397
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1397
>             Project: Atlas
>          Issue Type: Improvement
>            Reporter: Vimal Sharma
>            Assignee: Vimal Sharma
>
> POST v2/types/enumdef
> {
> "name" : "creation_order1",
> "typeVersion" : "1.1",
> "elementDefs" : [
> { "ordinal" : 1, "value" : "PRE" }
> ,
> { "ordinal" : 2, "value" : "POST" }
> ,
> { "ordinal" : 3, "value" : "UNKNOWN" }
> ]
> }
> returns the response
> {
> "category": "ENUM",
> "guid": "c5642d55-9f8e-45b1-b4a9-709c97b46233",
> "createTime": 1481885315377,
> "updateTime": 1481885315377,
> "version": 1,
> "name": "creation_order1",
> "description": "creation_order1",
> "typeVersion": "1.1",
> "elementDefs": [
> { "value": "PRE", "ordinal": 1 }
> ,
> { "value": "POST", "ordinal": 2 }
> ,
> { "value": "UNKNOWN", "ordinal": 3 }
> ]
> }
> DELETE v2/types/enumdef/name/creation_order1 is successful but doesn't return anything. DELETE request should return some response in the below format:
> {
> "result" : "SUCCESS/FAIL"
> "guid" : "{guid}"
> }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)