<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>REST API on</title><link>https://docs.protegrity.com/cloud-protect/4.0.0/docs/azure/api/rest_api/</link><description>Recent content in REST API on</description><generator>Hugo</generator><language>en</language><atom:link href="https://docs.protegrity.com/cloud-protect/4.0.0/docs/azure/api/rest_api/index.xml" rel="self" type="application/rss+xml"/><item><title>Export an OpenAPI Spec</title><link>https://docs.protegrity.com/cloud-protect/4.0.0/docs/azure/api/rest_api/export_api_spec/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/cloud-protect/4.0.0/docs/azure/api/rest_api/export_api_spec/</guid><description>&lt;h2 id="export-an-openapi-spec">Export an OpenAPI Spec&lt;/h2>
&lt;p>Once the Cloud API on Azure is installed, you can export the OpenAPI documentation file from:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>https://{ProtectFuncName}.azurewebsites.net/api/v1/openapi
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Authentication and functions key are required to get the URL.&lt;/p>


&lt;div class="alert alert-info" role="alert">
&lt;h4 class="alert-heading">Note&lt;/h4>

 &lt;p>For Cloud API on Azure Government Cloud use the following URL:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>https://{ProtectFuncName}.azurewebsites.us/api/v1/openapi
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>

&lt;/div>



&lt;div class="alert alert-success" role="alert">
&lt;h4 class="alert-heading">Tip&lt;/h4>

 Go to the Function App instance on the Azure portal, on the left menu choose Functions under Functions section, click on v1-openapi and press Get Function URL.

&lt;/div>

&lt;p>For testing the REST API, we recommend using a client tool, such as Postman.&lt;/p></description></item><item><title>Payload Encoding</title><link>https://docs.protegrity.com/cloud-protect/4.0.0/docs/azure/api/rest_api/payload_encoding/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/cloud-protect/4.0.0/docs/azure/api/rest_api/payload_encoding/</guid><description>&lt;h2 id="payload-encoding">Payload Encoding&lt;/h2>
&lt;p>The following encoding formats are supported in the REST API.&lt;/p>
&lt;p>For every encoding, the resultant protected data is returned in the same encoding. For example, if request is hex-encoded, the response is also hex-encoded.&lt;/p>
&lt;p>For more information about the encoding formats, refer to the &lt;a href="https://docs.protegrity.com/protectors/10.1/docs/pmr/">Protection Methods Reference&lt;/a>.&lt;/p>
&lt;table>&lt;thead>&lt;tr>&lt;th align="left" id="d1729e55">
&lt;p>Encoding&lt;/p>
&lt;/th>&lt;th align="left" id="d1729e58">
&lt;p>Supported by data elements&lt;/p>
&lt;/th>&lt;th align="left" id="d1729e61">
&lt;p>Notes&lt;/p>
&lt;/th>&lt;/tr>&lt;/thead>&lt;tbody>&lt;tr>&lt;td>
&lt;p>utf8&lt;/p>
&lt;/td>&lt;td>
&lt;p>All except binary data elements.&lt;/p>
&lt;/td>&lt;td>
&lt;p>Default encoding if encoding is not specified.&lt;/p></description></item><item><title>v1 Specification</title><link>https://docs.protegrity.com/cloud-protect/4.0.0/docs/azure/api/rest_api/specification_v1/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/cloud-protect/4.0.0/docs/azure/api/rest_api/specification_v1/</guid><description>&lt;h2 id="request">Request&lt;/h2>
&lt;p>AWS Lambda service limits maximum size of payload to 6 MB. Client applications of Protegrity Cloud API must ensure their payload size is within this limit. This applies to all types of requests described below.&lt;/p>
&lt;p>Performs a policy operation such as protect, unprotect, or reprotect.&lt;/p>
&lt;ul>
&lt;li>
&lt;p>&lt;strong>URI&lt;/strong>&lt;/p>
&lt;p>&lt;code>/v1/protect&lt;/code> or &lt;code>/v1/unprotect&lt;/code> or &lt;code>/v1/reprotect&lt;/code>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Method&lt;/strong>&lt;/p>
&lt;p>POST&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Parameters&lt;/strong>&lt;/p>
&lt;p>&lt;strong>data&lt;/strong>: Input data to the policy operation.&lt;/p>
&lt;p>&lt;strong>data_element&lt;/strong>: Data element to use for the policy operation.&lt;/p></description></item><item><title>Legacy Specification</title><link>https://docs.protegrity.com/cloud-protect/4.0.0/docs/azure/api/rest_api/specification_legacy/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/cloud-protect/4.0.0/docs/azure/api/rest_api/specification_legacy/</guid><description>&lt;p>Protegrity has multiple products with REST API capabilities, such as Protection Server (out of support), DSG, and the latest product - IAP REST. Each one has its use case. To help you move to cloud-native implementation, Cloud Product REST API supports legacy payload.&lt;/p>
&lt;ul>
&lt;li>&lt;a href="https://docs.protegrity.com/cloud-protect/4.0.0/docs/azure/api/rest_api/specification_legacy/#request">Request&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://docs.protegrity.com/cloud-protect/4.0.0/docs/azure/api/rest_api/specification_legacy/#response">Response&lt;/a>&lt;/li>
&lt;/ul>


 




	






 






 &lt;h2 id="request">Request&lt;/h2>
&lt;p>Performs a policy operation such as protect, unprotect, or reprotect.&lt;/p>
&lt;ul>
&lt;li>
&lt;p>&lt;strong>Method&lt;/strong>&lt;/p>
&lt;p>POST&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Parameters&lt;/strong>&lt;/p>
&lt;p>&lt;strong>dataelementname&lt;/strong>: (protect/unprotect) Data element to use for the policy operation.&lt;/p>
&lt;p>&lt;strong>externaliv&lt;/strong>: (protect/unprotect) Optional, external initialization vector.&lt;/p></description></item><item><title>SSL Certificates</title><link>https://docs.protegrity.com/cloud-protect/4.0.0/docs/azure/api/rest_api/ssl_certificates/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/cloud-protect/4.0.0/docs/azure/api/rest_api/ssl_certificates/</guid><description>&lt;h2 id="ssl-certificates">SSL Certificates&lt;/h2>
&lt;p>By default, the Azure function app function support HTTPS.&lt;/p>
&lt;p>To setup SSL Certificates in the Protect Function App please go to the following Azure documentation link:&lt;/p>
&lt;p>&lt;a href="https://docs.microsoft.com/en-us/azure/app-service/configure-ssl-certificate">App Service, Configure SSL Certificate&lt;/a>&lt;/p></description></item></channel></rss>