Collections

This API call returns metadata about the Collection (project) containers that are used to group Pins within the Historypin repository, including some basic statistics and a number of administrative flags that enable or disable particular features within the Collection Edit (or Create) interface.

URL

www.historypin.org/en/api/{project-path}/projects/get.json

Parameters

Example get project information JSON

https://www.historypin.org/en/api/oreo/projects/get.json

{
    "id"                : 30,
    "type"              : 0,
    "title"             : "Project's for Quality Assurance",
    "slug"              : "oreo",
    "name"              : "oreo",
    "short_description" : "Please add a little information about your project.",
    "description"       : "\u003Cp\u003EPlease add a little information about your project.\u003C/p\u003E",
    "organisation"      : "",
    "project_type"      : "Collection",
    "project_status"    : "1",
    "topic_id"          : "",
    "rss"               : "http://beyondthetrenches.co.uk/feed/",
    "explore_view"      : "hybrid",
    "owner_id"          : "49127",
    "contact"           : "",

    "counts":
    {
        "pins"          : 2,
        "collections"   : 0,
        "tours"         : 0,
        "viewed"        : 261,
        "users"         : 0
    },

    "image_url"         : "//photos-cdn.historypin.org/projects/img/pid/30/type/project_image,banner,logo/dim/1920x2000/c/1447840743",
    "video_url"         : "",
    "grant_number"          : "",
    "premium"               : true,
    "project_funded"        : false,
    "allow_pinning"         : true,
    "project_add_btn"       : false,
    "about_opened"          : false,
    "allow_custom_add_pin"  : false,
    "add_pin_text"          : "",
    "allow_navigation_tags" : true,

    "navigation_tags"       : [
        { "id": 1, "text": "test2" },
        { "id": 2, "text": "test3" },
        { "id": 3, "text": "test" },
    ],

    "parents":
    [
        {
            "title" : "Project's for Quality Assurance",
            "path"  : "oreo",
            "geo"   : "/geo/42.676734,23.273539000000028,7"
        }
    ],

    "path": "oreo",

    "files":
    {
        "styles": [  ]
    },

    "parent": {},

    "timemap": {
        "lat"       : 42.676734,
        "lng"       : 23.273539,
        "zoom"      : 7,
        "range"     : 100000,
        "center"    : "42.676734,23.273539000000028,7",

        "credits"   : "",
        "start"     : "1960",
        "end"       : "1960",

        "styles"    : [],

        "old_maps":
        {
            "opacity"       : "0.5",
            "layers"        : [  ],
            "layers_klokan" : [  ]
        }
    },

    "sponsors": [

    ],

    "logos_sidebar": [

    ],

    "owners": [

    ],

    "community_caregory_id": "72",

    "places" : [
        {
            "id"            : 293,
            "title"         : "Bulgaria",
            "slug"          : "bulgaria",
            "path"          : "bulgaria",
            "center"        : "42.7270330000,25.4820355000",
            "zoom"          : "6",
            "parent_title"  : ""
        },
        {
            "id"            : 1244,
            "title"         : "Sofia",
            "slug"          : "sofia",
            "path"          : "bulgaria/sofia",
            "center"        : "42.6543950000,23.3648820000",
            "zoom"          : "10",
            "parent_title"  : "Bulgaria"
        }
    ],

    "activity"              : [

    ]
}