Permalink
Browse files

removing outdated configs

  • Loading branch information...
1 parent 6a7f718 commit 739dfee38cff213b83086f7970bfea6593194828 @precision precision committed Jul 31, 2011
Showing with 0 additions and 1,038 deletions.
  1. +0 −17 public/data/rotten.json
  2. +0 −327 public/data/simplegeo.json
  3. +0 −694 public/data/usatoday_with_news.json
View
@@ -1,17 +0,0 @@
-{
- "endpoints": [
- {
- "name": "Homepage",
- "methods": [
- {
- "MethodName": "API Homepage",
- "Synopsis": "It lists the top level API resources available: lists and movies.",
- "HTTPMethod": "GET",
- "URI": "/lists.json",
- "RequiresOAuth": "N",
- "parameters": [ ]
- }
- ]
- }
- ]
-}
View
@@ -1,327 +0,0 @@
-{
- "endpoints": [
- {
- "name": "Context",
- "path": "/1.0/context",
- "methods": [
- {
- "MethodName": "getContext",
- "Synopsis": "Retrieve context information for the location. ",
- "HTTPMethod": "GET",
- "URI": "/1.0/context/:lat,:lon.json",
- "RequiresOAuth": "Y",
- "parameters": [
- {
- "Name": "lat",
- "Required": "Y",
- "Default": "",
- "Type": "Latitude (float)"
- },
- {
- "Name": "lon",
- "Required": "Y",
- "Default": "",
- "Type": "Longitude (float)"
- }
- ]
- },
- {
- "MethodName": "getContextFromAddress",
- "Synopsis": "Retrieve context information for an address",
- "HTTPMethod": "GET",
- "URI": "/1.0/context/address.json",
- "RequiresOAuth": "Y",
- "parameters": [
- {
- "Name": "address",
- "Required": "Y",
- "Default": "",
- "Type": "US Address (zip required)"
- }
- ]
- },
- {
- "MethodName": "getContextFromIP",
- "Synopsis": "Retrieve context information for the location of an IP address.",
- "HTTPMethod": "GET",
- "URI": "/1.0/context/:ip.json",
- "RequiresOAuth": "Y",
- "parameters": [
- {
- "Name": "ip",
- "Required": "Y",
- "Default": "",
- "Type": "IP Address"
- }
- ]
- },
- {
- "MethodName": "getContextFromIP (yours)",
- "Synopsis": "Retrieve context information for the location of your IP address.",
- "HTTPMethod": "GET",
- "URI": "/1.0/context/ip.json",
- "RequiresOAuth": "Y",
- "parameters": [
- ]
- }
-
- ]
- },
- {
- "name": "Places",
- "methods": [
- {
- "MethodName": "search",
- "Synopsis": "Search for places near a point (lat/lon) by name or category.",
- "HTTPMethod": "GET",
- "URI": "/1.0/places/:lat,:lon.json",
- "RequiresOAuth": "Y",
- "parameters": [
- {
- "Name": "lat",
- "Required": "Y",
- "Default": "",
- "Type": "Latitude (float)"
- },
- {
- "Name": "lon",
- "Required": "Y",
- "Default": "",
- "Type": "Longitude (float)"
- },
- {
- "Name": "q",
- "Required": "N",
- "Default": "",
- "Type": "Search term (string)",
- "Description": "A search term. For example, q=Starbucks would return all places matching the name Starbucks."
- },
- {
- "Name": "category",
- "Required": "N",
- "Default": "",
- "Type": "Category (string)",
- "Description": "Filter by an exact classifier (types, categories, subcategories, tags)"
- },
- {
- "Name": "radius",
- "Required": "N",
- "Default": "",
- "Type": "Radius in km (int)",
- "Description": "Search by radius in kilometers. Default and maximum value for radius is 25km."
- },
- {
- "Name": "num",
- "Required": "N",
- "Default": "",
- "Type": "Limit (int)",
- "Description": "The amount of features to return. Default is 25."
- }
- ]
- },
- {
- "MethodName": "searchFromAddress",
- "Synopsis": "Search for places near an address by name or category.",
- "HTTPMethod": "GET",
- "URI": "/1.0/places/address.json",
- "RequiresOAuth": "Y",
- "parameters": [
- {
- "Name": "address",
- "Required": "Y",
- "Default": "",
- "Type": "US Address (zip required)"
- },
- {
- "Name": "q",
- "Required": "N",
- "Default": "",
- "Type": "Search term (string)",
- "Description": "A search term. For example, q=Starbucks would return all places matching the name Starbucks."
- },
- {
- "Name": "category",
- "Required": "N",
- "Default": "",
- "Type": "Category (string)",
- "Description": "Filter by an exact classifier (types, categories, subcategories, tags)"
- },
- {
- "Name": "radius",
- "Required": "N",
- "Default": "",
- "Type": "Radius in km (int)",
- "Description": "Search by radius in kilometers. Default and maximum value for radius is 25km."
- },
- {
- "Name": "num",
- "Required": "N",
- "Default": "",
- "Type": "Limit (int)",
- "Description": "The amount of features to return. Default is 25."
- }
- ]
- },
- {
- "MethodName": "searchFromIP",
- "Synopsis": "Search for places near an IP location.",
- "HTTPMethod": "GET",
- "URI": "/1.0/places/:ip.json",
- "RequiresOAuth": "Y",
- "parameters": [
- {
- "Name": "ip",
- "Required": "Y",
- "Default": "",
- "Type": "IP Address"
- },
- {
- "Name": "q",
- "Required": "N",
- "Default": "",
- "Type": "Search term (string)",
- "Description": "A search term. For example, q=Starbucks would return all places matching the name Starbucks."
- },
- {
- "Name": "category",
- "Required": "N",
- "Default": "",
- "Type": "Category (string)",
- "Description": "Filter by an exact classifier (types, categories, subcategories, tags)"
- },
- {
- "Name": "radius",
- "Required": "N",
- "Default": "",
- "Type": "Radius in km (int)",
- "Description": "Search by radius in kilometers. Default and maximum value for radius is 25km."
- },
- {
- "Name": "num",
- "Required": "N",
- "Default": "",
- "Type": "Limit (int)",
- "Description": "The amount of features to return. Default is 25."
- }
- ]
- },
- {
- "MethodName": "searchFromIP (yours)",
- "Synopsis": "Search for places near your IP location.",
- "HTTPMethod": "GET",
- "URI": "/1.0/places/ip.json",
- "RequiresOAuth": "Y",
- "parameters": [
- {
- "Name": "q",
- "Required": "N",
- "Default": "",
- "Type": "Search term (string)",
- "Description": "A search term. For example, q=Starbucks would return all places matching the name Starbucks."
- },
- {
- "Name": "category",
- "Required": "N",
- "Default": "",
- "Type": "Category (string)",
- "Description": "Filter by an exact classifier (types, categories, subcategories, tags)"
- },
- {
- "Name": "radius",
- "Required": "N",
- "Default": "",
- "Type": "Radius in km (int)",
- "Description": "Search by radius in kilometers. Default and maximum value for radius is 25km."
- },
- {
- "Name": "num",
- "Required": "N",
- "Default": "",
- "Type": "Limit (int)",
- "Description": "The amount of features to return. Default is 25."
- }
- ]
- },
- {
- "MethodName": "Create/Update Place",
- "Synopsis": "Create or update a place feature in SimpleGeo Places.",
- "HTTPMethod": "POST",
- "URI": "/1.0/places",
- "RequiresOAuth": "Y",
- "read-only": true,
- "parameters": [
- {
- "Name": "Place",
- "Required": "Y",
- "Default": "",
- "Type": "GeoJSON",
- "Description": "Each new feature gets a unique, consistent handle; if you insert the same record twice, the more recent insert overwrites the previous one.\n When you add a feature, it is visible only to your application until approved for general use. To keep your features private to your application, include \"private\": true in the GeoJSON properties.\n You can include your own ID for a feature by including \"record_id\": <id> in the GeoJSON properties. SimpleGeo won't track your IDs (unless you ask us to)."
- }
- ]
- }
- ]
- },
- {
- "name": "Features",
- "methods": [
- {
- "MethodName": "getFeatureCategories",
- "Synopsis": "Get a list of all the possible Feature categories.",
- "HTTPMethod": "GET",
- "URI": "/1.0/features/categories.json",
- "RequiresOAuth": "N",
- "parameters": [
- ]
- },
- {
- "MethodName": "getFeature",
- "Synopsis": "Retrieves a feature and details about the features. Requires a handle. Returns a GeoJSON Feature.",
- "HTTPMethod": "GET",
- "URI": "/1.0/features/:handle.json",
- "RequiresOAuth": "N",
- "parameters": [
- {
- "Name": "handle",
- "Required": "Y",
- "Default": "",
- "Type": "handle (SimpleGeo Handle)"
- }
- ]
- },
- {
- "MethodName": "Annotations",
- "Synopsis": "Annotations are structured metadata for any feature. They maybe be public or private.",
- "Description": "Annotations are a way to add structured metadata to any feature in either SimpleGeo Context or SimpleGeo Places. Annotations may be public or private. They are comprised of a top-level type, an attribute key, and a value.",
- "HTTPMethod": "GET",
- "URI": "/1.0/features/:handle/annotations.json",
- "RequiresOAuth": "N",
- "parameters": [
- {
- "Name": "handle",
- "Required": "Y",
- "Default": "",
- "Type": "handle (SimpleGeo Handle)"
- }
- ]
- },
- {
- "MethodName": "Annotations",
- "Synopsis": "Add annotations. Annotations are structured metadata for any feature. They maybe be public or private.",
- "Description": "Annotations are a way to add structured metadata to any feature in either SimpleGeo Context or SimpleGeo Places. Annotations may be public or private. They are comprised of a top-level type, an attribute key, and a value.",
- "HTTPMethod": "POST",
- "URI": "/1.0/features/:handle/annotations.json",
- "RequiresOAuth": "N",
- "read-only": true,
- "parameters": [
- {
- "Name": "handle",
- "Required": "Y",
- "Default": "",
- "Type": "handle (SimpleGeo Handle)"
- }
- ]
- }
- ]
- }
- ]
-}
Oops, something went wrong.

0 comments on commit 739dfee

Please sign in to comment.