You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Graham Wallis (JIRA)" <ji...@apache.org> on 2018/04/24 09:59:00 UTC

[jira] [Commented] (ATLAS-2598) Add POST method to fetch bulk entities with AtlasEntitiesWithExtInfo

    [ https://issues.apache.org/jira/browse/ATLAS-2598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16449557#comment-16449557 ] 

Graham Wallis commented on ATLAS-2598:
--------------------------------------

I would not have thought that using POST to retrieve entities was an appropriate choice of HTTP method.

> Add POST method to fetch bulk entities with AtlasEntitiesWithExtInfo
> --------------------------------------------------------------------
>
>                 Key: ATLAS-2598
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2598
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 1.0.0-alpha
>            Reporter: Nixon Rodrigues
>            Priority: Major
>             Fix For: 1.0.0
>
>
> To fetch bulk entities,  guids need to be passed as query params, there can be a limit to the length of URL in GET method. 
> {noformat}
> http://localhost:21000/api/atlas/v2/entity/bulk?guid=d08a64f7-a2d4-4c88-aa67-6a98b5a52793&guid=a0910f28-6d63-4729-bd44-04c7e34edba5&guid=1b7b9749-d3ff-487c-bfd1-4e1ad6c3be90
> {noformat}
> POST method would be much suited for this .



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)