Privacy

This resource provides access to the MapMyFitness Privacy settings. Privacy settings are linked other objects such as workouts, routes, and user settings.

Resource URIs

Item URI: /v7.1/privacy_option/<pk>/

Collection URI: /v7.1/privacy_option/

Item

Item methods

GET Retrieve a Privacy option by id

Item properties

Name Description Type Units HTTP Support
desc A description of the Privacy setting string   GET: Required

Collection

Collection methods

GET Retrieve a listing of Privacy options

Collection properties

Name Description Type Units HTTP Support
total_count the total number of Privacy settings number   GET: Required

Embedded collections

privacy_options A collection of Privacy items with properties as described under Item properties

Usage

GET Privacy entity

Request GET: /v7.1/privacy_option/1/
Response
{
    "_links": {
        "self": [{
            "href": "\/v7.1\/privacy_option\/1\/",
            "id": "1"
        }],
        "documentation": [{
            "href": "https:\/\/developer.mapmyfitness.com\/docs\/${doc_uri}"
        }]
    },
    "description": "Friends. Share With All My Friends"
}

GET Privacy collection

Request GET: /v7.1/privacy_option/
Response
{
    "_links": {
        "self": [{
            "href": "\/v7.1\/privacy_option\/?limit=20&offset=0"
        }],
        "documentation": [{
            "href": "https:\/\/developer.mapmyfitness.com\/docs\/${doc_uri}"
        }]
    },
    "_embedded": {
        "privacy_options": [{
            "_links": {
                "self": [{
                    "href": "\/v7.1\/privacy_option\/0\/",
                    "id": "0"
                }]
            },
            "description": "Private. Do Not Share"
        }, {
            "_links": {
                "self": [{
                    "href": "\/v7.1\/privacy_option\/3\/",
                    "id": "3"
                }]
            },
            "description": "Public. Share With Everyone"
        }, {
            "_links": {
                "self": [{
                    "href": "\/v7.1\/privacy_option\/1\/",
                    "id": "1"
                }]
            },
            "description": "Friends. Share With All My Friends"
        }]
    },
    "total_count": 3
}