Logo
Contact
AR Objects

AR Objects are a fun way of engaging with philosophy. You can view a gallery of the objects available here.


AR Object returns metadata about the object and paths to a thumbnail image and a path to the .usdz file.


Sample AR Object:


{
    "description": "",
    "name": "Simone de Beauvoir",
    "thumbnailImages": {
        "thumbnail300x300": "/Images/deBeauvoirBust@2x.png",
        "thumbnail450x450": "/Images/deBeauvoirBust@3x.png",
        "thumbnail150x150": "/Images/deBeauvoirBust.png"
    },
    "type": "statue",
    "arFile": "/ARObjects/deBeauvoirBust.usdz",
    "philosopherID": "8F0CBDDC-037C-46A7-AA3D-0AB84C5DEE24",
    "wikiTitle": "Simone de Beauvoir",
    "id": "D25A7A12-E88A-4D7D-85F5-119323AB3528"
}

Endpoints
/api/arobjects
- Gets a list of all AR objects.

/api/arobjects/search?keyword=<# keyword #>
- List of all AR objects matching search

/api/arobjects/<# arobject id #>
- Gets details of an AR object including associated philosopher info
/api/arobjects/name/<# arobject name #>
- Gets details of an AR object including associated philosopher info based on the passed in name (e.g. "Allegory+of+the+Cave")

All endpoint responses include a set of paths for "thumbnail" images of the AR object.


Sample Thumbnail Images:


...
"thumbnailImages": {
    "thumbnail300x300": "/Images/platoBust@2x.png",
    "thumbnail450x450": "/Images/platoBust@3x.png",
    "thumbnail150x150": "/Images/platoBust.png"
}
...

Where thumbnailImages is a small image of the AR object with a transparent background.


Details

Sample Category Details:


{
    "name": "No Exit Sign",
    "storeURL": "https://books.apple.com/us/book/no-exit-and-three-other-plays/id1010159188",
    "originalTitle": "Huis Clos",
    "philosopher": { ... },
    "arFile": "/ARObjects/noExit.usdz",
    "wikiTitle": "No Exit",
    "description": "No Exit is a 1944 existentialist French play by Jean-Paul Sartre...The play begins with three characters who find themselves waiting in a mysterious room. It is a depiction of the afterlife in which three deceased characters are punished by being locked into a room together for eternity."
}
id
- UUID that identifies an AR object
wikiTitle
- Optional string of the title to the Wikipedia article about the AR object's content. URLs can be constructed as https://en.wikipedia.org/wiki/<# wikiTitle #>
description
- Optional string that describes the AR object
originalTitle
- Optional string of the title of the object in its original language
storeURL
- Optional URL for the work on the iBooks store
type
- Enum value with values of "book," "statue," or "object"
thumbnailImages
- Dictionary of paths to thumbnail images of different sizes
arFile
- Path to .usdz file
philosopher
- The philosopher associated with the AR object

App Store
TwitterInstagram
HOME | QUOTES | CATEGORIES | KEY IDEAS | AR OBJECTS | GRAPHQL