Skip to content

Me Resource

Introduction

The me resource may used to verify own authentication status. It returns the business partner as which you are logged in.

Example URL

https://api.openpublishing.com/resource/v3/me

Allowed methods: GET.

Fields

Business Partner

business_partner is a reference to the person which is logged in. It contains a dict _id and screenname of the business partner.

Realm

realm is the Open Publishing terminology for tenant. It contains a dict with _id and name and screenname.

Example JSON

{
   "business_partner": {
      "_id": 128,
      "screenname": "John Doe"
   },
   "realm": {
      "_id": 23,
      "name": "testpublisher",
      "screenname": "Test Publisher"
   }
}