Difference between revisions of "REST"

From Dogtag
Jump to: navigation, search
m
m
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Overview =
+
= Frameworks =
  
PKI provides REST interfaces to allow clients to access services on the server. The REST services are implemented using [[RESTEasy]].
+
* [[RESTEasy]]
 
+
* [[Jersey]]
= REST API =
+
* [[CXF]]
 
 
The PKI REST API are defined in the following Resource classes. These classes define the paths, the required authentications, the operations, the parameters, and the responses of the REST resources.
 
 
 
* [http://git.fedorahosted.org/cgit/pki.git/tree/base/common/src/com/netscape/certsrv/account com.netscape.certsrv.account]
 
** [http://git.fedorahosted.org/cgit/pki.git/plain/base/common/src/com/netscape/certsrv/account/AccountResource.java AccountResource]
 
 
 
* [http://git.fedorahosted.org/cgit/pki.git/tree/base/common/src/com/netscape/certsrv/cert com.netscape.certsrv.cert]
 
** [http://git.fedorahosted.org/cgit/pki.git/plain/base/common/src/com/netscape/certsrv/cert/CertResource.java CertResource]
 
** [http://git.fedorahosted.org/cgit/pki.git/plain/base/common/src/com/netscape/certsrv/cert/CertRequestResource.java CertRequestResource]
 
 
 
* [http://git.fedorahosted.org/cgit/pki.git/tree/base/common/src/com/netscape/certsrv/group com.netscape.certsrv.group]
 
** [http://git.fedorahosted.org/cgit/pki.git/plain/base/common/src/com/netscape/certsrv/group/GroupResource.java GroupResource]
 
** [http://git.fedorahosted.org/cgit/pki.git/plain/base/common/src/com/netscape/certsrv/group/GroupMemberResource.java GroupMemberResource]
 
 
 
* [http://git.fedorahosted.org/cgit/pki.git/tree/base/common/src/com/netscape/certsrv/key com.netscape.certsrv.key]
 
** [http://git.fedorahosted.org/cgit/pki.git/plain/base/common/src/com/netscape/certsrv/key/KeyResource.java KeyResource]
 
** [http://git.fedorahosted.org/cgit/pki.git/plain/base/common/src/com/netscape/certsrv/key/KeyRequestResource.java KeyRequestResource]
 
 
 
* [http://git.fedorahosted.org/cgit/pki.git/tree/base/common/src/com/netscape/certsrv/profile com.netscape.certsrv.profile]
 
** [http://git.fedorahosted.org/cgit/pki.git/plain/base/common/src/com/netscape/certsrv/profile/ProfileResource.java ProfileResource]
 
 
 
* [http://git.fedorahosted.org/cgit/pki.git/tree/base/common/src/com/netscape/certsrv/system  com.netscape.certsrv.system]
 
** [http://git.fedorahosted.org/cgit/pki.git/plain/base/common/src/com/netscape/certsrv/system/KRAConnectorResource.java KRAConnectorResource]
 
** [http://git.fedorahosted.org/cgit/pki.git/plain/base/common/src/com/netscape/certsrv/system/SecurityDomainResource.java SecurityDomainResource]
 
** [http://git.fedorahosted.org/cgit/pki.git/plain/base/common/src/com/netscape/certsrv/system/SystemCertResource.java SystemCertResource]
 
** [http://git.fedorahosted.org/cgit/pki.git/plain/base/common/src/com/netscape/certsrv/system/SystemConfigResource.java SystemConfigResource]
 
 
 
* [http://git.fedorahosted.org/cgit/pki.git/tree/base/common/src/com/netscape/certsrv/user com.netscape.certsrv.user]
 
** [http://git.fedorahosted.org/cgit/pki.git/plain/base/common/src/com/netscape/certsrv/user/UserResource.java UserResource]
 
** [http://git.fedorahosted.org/cgit/pki.git/plain/base/common/src/com/netscape/certsrv/user/UserCertResource.java UserCertResource]
 
** [http://git.fedorahosted.org/cgit/pki.git/plain/base/common/src/com/netscape/certsrv/user/UserMembershipResource.java UserMembershipResource]
 
  
= REST Services =
+
= PKI REST API =
  
The REST services that are running in each subsystem are defined in the following Application classes:
+
See [https://github.com/dogtagpki/pki/wiki/PKI-REST-API-Design PKI REST API Design].
 
 
* [https://git.fedorahosted.org/cgit/pki.git/tree/base/ca/src/org/dogtagpki/server/ca/rest/CAApplication.java CAApplication]
 
* [https://git.fedorahosted.org/cgit/pki.git/tree/base/kra/src/org/dogtagpki/server/kra/rest/KRAApplication.java KRAApplication]
 
* [https://git.fedorahosted.org/cgit/pki.git/tree/base/ocsp/src/org/dogtagpki/server/ocsp/rest/OCSPApplication.java OCSPApplication]
 
* [https://git.fedorahosted.org/cgit/pki.git/tree/base/tks/src/org/dogtagpki/server/tks/rest/TKSApplication.java TKSApplication]
 
* [https://git.fedorahosted.org/cgit/pki.git/tree/base/tps/src/org/dogtagpki/server/tps/rest/TPSApplication.java TPSApplication]
 
  
 
= References =
 
= References =
  
* [[REST Design]]
+
* [https://www.gajotres.net/best-available-java-restful-micro-frameworks/ Top 8 Java RESTful Micro Frameworks – Pros/Cons]
* [[PKI Client Design]]
+
* [https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html RFC 2616: Header Field Definitions]
* [[REST Python API]]
+
* [[Java EE]]
* [[TPS REST API]]
 
* [[RESTEasy]]
 
* [[Accessing PKI Services with curl]]
 

Latest revision as of 21:14, 21 January 2021

Frameworks

PKI REST API

See PKI REST API Design.

References