Policy Management

Introduction

Using this method you can get all policies of your project created in the Dashboard. You can learn more about how to create / generate new policy here.

Please note that you can create no more than 20 policies for a project at a time.

Policy Management Available Methods

Users.GetPolicyList (get_policy_list)

This method requires Project ID and Client Key

API Url:

https://cp.ocugine.pro/api/users/get_policy_list/

Request POST Params:

Parameter Type Description
app_id (required) double Project ID
app_key (required) string Project Client Key

Response Example:

{
    "complete": true,
    "message": "",
    "data": {
        "list": [
            {
                "policy_name": "Terms of Service",
                "uid": "9",
                "time": "1568119914"
            },
            {
                "policy_name": "Privacy Policy",
                "uid": "8",
                "time": "1568119904"
            }
        ]
    }
}

Users.GetPolicyData (get_policy_info)

This method requires Project ID and Client Key

API Url:

https://cp.ocugine.pro/api/users/get_policy_info/

Request POST Params:

Parameter Type Description
app_id (required) double Project ID
app_key (required) string Project Client Key
pid (required) double Policy UID

Response Example:

{
    "complete": true,
    "message": "",
    "data": {
        "info": {
            "uid": "9",
            "policy_name": "Terms of Service",
            "policy_text": "Terms Generated: 10.09.2019 \r\n\r\n## WELCOME TO THE DEMO Thanks for using our product and services (“Services”). The Services are provided by Ocugine (“Developer”), located at New York, USA.\r\n\r\nBy using our Product, you are agreeing to these terms. Please read them carefully.\r\n\r\nOur Product are very diverse, so sometimes additional terms or product requirements (including age requirements) may apply. Additional terms will be available with the relevant Services, and those additional terms become part of your agreement with us if you use those the Product.\r\n\r\n\r\n## USING OUR PRODUCT\r\nYou must follow any policies made available to you within the Services.\r\n\r\nDon’t misuse our Services. For example, don’t interfere with our Services or try to access them using a method other than the interface and the instructions that we provide. You may use our Services only as permitted by law, including applicable export and re-export control laws and regulations. We may suspend or stop providing our Services to you if you do not comply with our terms or policies or if we are investigating suspected misconduct.\r\n\r\nUsing our Services does not give you ownership of any intellectual property rights in our Services or the content you access. You may not use content from our Services unless you obtain permission from its owner or are otherwise permitted by law. These terms do not grant you the right to use any branding or logos used in our Services. Don’t remove, obscure, or alter any legal notices displayed in or along with our Services.\r\n\r\nOur Services display some content that is not owned by Ocugine. This content is the sole responsibility of the entity that makes it available. We may review content to determine whether it is illegal or violates our policies, and we may remove or refuse to display content that we reasonably believe violates our policies or the law. But that does not necessarily mean that we review content, so please don’t assume that we do.\r\n\r\nIn connection with your use of the Services, we may send you service announcements, administrative messages, and other information. You may opt out of some of those communications.\r\nSome of our Services are available on mobile devices. Do not use such Services in a way that distracts you and prevents you from obeying traffic or safety laws.\r\n\r\n\r\n## YOUR ACCOUNT\r\nYou may need an DEMO Account in order to use some of our Services. You may create your own DEMO Account, or your DEMO Account may be assigned to you by an administrator, such as your employer or educational institution. If you are using an DEMO Account assigned to you by an administrator, different or additional terms may apply and your administrator may be able to access or disable your account.\r\n\r\nTo protect your DEMO Account, keep your password confidential. You are responsible for the activity that happens on or through your DEMO Account. Try not to reuse your DEMO Account password on third-party applications.\r\n\r\n\r\n## PRIVACY AND COPYRIGHT PROTECTION\r\nDEMO’s privacy policies explain how we treat your personal data and protect your privacy when you use our Services. By using our Services, you agree that Ocugine can use such data in accordance with our privacy policies.\r\n\r\nWe provide information to help copyright holders manage their intellectual property online. If you think somebody is violating your copyrights and want to notify us, you can find information about submitting notices and DEMO’s policy about responding to notices in our Help Center.\r\n\r\n\r\n## YOUR CONTENT IN OUR PRODUCT\r\nSome of our Services allow you to upload, submit, store, send or receive content. You retain ownership of any intellectual property rights that you hold in that content. In short, what belongs to you stays yours.\r\n\r\nWhen you upload, submit, store, send or receive content to or through our Services, you give Ocugine (and those we work with) a worldwide license to use, host, store, reproduce, modify, create derivative works (such as those resulting from translations, adaptations or other changes we make so that your content works better with our Services), communicate, publish, publicly perform, publicly display and distribute such content. The rights you grant in this license are for the limited purpose of operating, promoting, and improving our Services, and to develop new ones. This license continues even if you stop using our Services. Some Services may offer you ways to access and remove content that has been provided to that Service. Also, in some of our Services, there are terms or settings that narrow the scope of our use of the content submitted in those Services. Make sure you have the necessary rights to grant us this license for any content that you submit to our Services.\r\n\r\nOur automated systems analyze your content (including emails) to provide you personally relevant product features, such as customized search results, tailored advertising, and spam and malware detection. This analysis occurs as the content is sent, received, and when it is stored.\r\n\r\nIf you have an DEMO Account, we may display your Profile name, Profile photo, and actions you take on Ocugine or on third-party applications connected to your DEMO Account (such as reviews you write and comments you post) in our Services, including displaying in ads and other commercial contexts. We will respect the choices you make to limit sharing or visibility settings in your DEMO Account. For example, you can choose your settings so your name and photo do not appear in an ad.\r\n\r\nYou can find more information about how Ocugine uses and stores content in the privacy policy or additional terms for particular Services. If you submit feedback or suggestions about our Services, we may use your feedback or suggestions without obligation to you.\r\n\r\n\r\n## ABOUT SOFTWARE IN OUR PRODUCT\r\nWhen a Service requires or includes downloadable software, this software may update automatically on your device once a new version or feature is available. Some Services may let you adjust your automatic update settings.\r\n\r\nOcugine gives you a personal, worldwide, royalty-free, non-assignable and non-exclusive license to use the software provided to you by Ocugine as part of the Services. This license is for the sole purpose of enabling you to use and enjoy the benefit of the Services as provided by Ocugine, in the manner permitted by these terms. You may not copy, modify, distribute, sell, or lease any part of our Services or included software, nor may you reverse engineer or attempt to extract the source code of that software, unless laws prohibit those restrictions or you have our written permission.\r\n\r\nOpen source software is important to us. Some software used in our Services may be offered under an open source license that we will make available to you. There may be provisions in the open source license that expressly override some of these terms.\r\n\r\n\r\n## MODIFYING AND TERMINATING OUR TERMS\r\nWe are constantly changing and improving our Services. We may add or remove functionalities or features, and we may suspend or stop a Service altogether.\r\n\r\nYou can stop using our Services at any time, although we’ll be sorry to see you go. Ocugine may also stop providing Services to you, or add or create new limits to our Services at any time.\r\n\r\nWe believe that you own your data and preserving your access to such data is important. If we discontinue a Service, where reasonably possible, we will give you reasonable advance notice and a chance to get information out of that Service.\r\n\r\n\r\n## WARRANTIES AND DISCLAIMERS\r\nWe provide our Services using a commercially reasonable level of skill and care and we hope that you will enjoy using them. But there are certain things that we don’t promise about our Services.\r\n\r\nOther than as expressly set out in these terms or additional terms, neither Ocugine nor its suppliers or distributors make any specific promises about the Services. For example, we don’t make any commitments about the content within the Services, the specific functions of the Services, or their reliability, availability, or ability to meet your needs. We provide the Services “as is”.\r\n\r\nSome jurisdictions provide for certain warranties, like the implied warranty of merchantability, fitness for a particular purpose and non-infringement. To the extent permitted by law, we exclude all warranties.\r\n\r\n\r\n## LIABILITY FOR OUR PRODUCT\r\nWhen permitted by law, Ocugine, and Ocugine’s suppliers and distributors, will not be responsible for lost profits, revenues, or data, financial losses or indirect, special, consequential, exemplary, or punitive damages.\r\n\r\nTo the extent permitted by law, the total liability of Ocugine, and its suppliers and distributors, for any claims under these terms, including for any implied warranties, is limited to the amount you paid us to use the Services (or, if we choose, to supplying you the Services again).\r\nIn all cases, Ocugine, and its suppliers and distributors, will not be liable for any loss or damage that is not reasonably foreseeable.\r\n\r\nWe recognize that in some countries, you might have legal rights as a consumer. If you are using the Services for a personal purpose, then nothing in these terms or any additional terms limits any consumer legal rights which may not be waived by contract.\r\n\r\n\r\n## ABOUT THIS TERMS\r\nWe may modify these terms or any additional terms that apply to a Service to, for example, reflect changes to the law or changes to our Services. You should look at the terms regularly. We’ll post notice of modifications to these terms on this page. We’ll post notice of modified additional terms in the applicable Service. Changes will not apply retroactively and will become effective no sooner than fourteen days after they are posted. However, changes addressing new functions for a Service or changes made for legal reasons will be effective immediately. If you do not agree to the modified terms for a Service, you should discontinue your use of that Service.\r\n\r\nIf there is a conflict between these terms and the additional terms, the additional terms will control for that conflict.\r\nThese terms control the relationship between Ocugine and you. They do not create any third party beneficiary rights.\r\nIf you do not comply with these terms, and we don’t take action right away, this doesn’t mean that we are giving up any rights that we may have (such as taking action in the future).\r\n\r\nIf it turns out that a particular term is not enforceable, this will not affect any other terms.\r\n\r\nThe courts in some countries will not apply Ocugine's location law to some types of disputes. Our company is located at New York, USA. If you have an additional questions, please, contact us at email: [email protected] or by phone: +1 (844) 804-26-39.\r\n",
            "project_id": "59",
            "time": "1568119914"
        }
    }
}