You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@griffin.apache.org by "Alex Lv (JIRA)" <ji...@apache.org> on 2017/10/31 06:24:01 UTC
[jira] [Updated] (GRIFFIN-68) Restful APIs don't align with
standard principles
[ https://issues.apache.org/jira/browse/GRIFFIN-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Lv updated GRIFFIN-68:
---------------------------
Summary: Restful APIs don't align with standard principles (was: Restful APIs are not standard)
> Restful APIs don't align with standard principles
> -------------------------------------------------
>
> Key: GRIFFIN-68
> URL: https://issues.apache.org/jira/browse/GRIFFIN-68
> Project: Griffin (Incubating)
> Issue Type: Improvement
> Reporter: Alex Lv
>
> All restful APIs should follow up standard principles, refer to https://codeplanet.io/principles-good-restful-api-design/
> Furthermore, for application return codes, they should be deferent from HTTP status code. For example, application return codes could be 10011, 10012, etc.
> For create/delete/put, there should be no response body.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
Re: [jira] [Updated] (GRIFFIN-68) Restful APIs don't align with
standard principles
Posted by William Guo <gu...@apache.org>.
let's find some time slot to review it.
________________________________
From: Alex Lv (JIRA) <ji...@apache.org>
Sent: Tuesday, October 31, 2017 2:24:01 PM
To: dev@griffin.incubator.apache.org
Subject: [jira] [Updated] (GRIFFIN-68) Restful APIs don't align with standard principles
[ https://issues.apache.org/jira/browse/GRIFFIN-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Lv updated GRIFFIN-68:
---------------------------
Summary: Restful APIs don't align with standard principles (was: Restful APIs are not standard)
> Restful APIs don't align with standard principles
> -------------------------------------------------
>
> Key: GRIFFIN-68
> URL: https://issues.apache.org/jira/browse/GRIFFIN-68
> Project: Griffin (Incubating)
> Issue Type: Improvement
> Reporter: Alex Lv
>
> All restful APIs should follow up standard principles, refer to https://codeplanet.io/principles-good-restful-api-design/
> Furthermore, for application return codes, they should be deferent from HTTP status code. For example, application return codes could be 10011, 10012, etc.
> For create/delete/put, there should be no response body.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)