Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
split one file into many, need one <table> per file
Signed-off-by: Sam Pullara <spullara@yahoo.com>
- Loading branch information
Showing
7 changed files
with
185 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0"?> | ||
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd"> | ||
<meta> | ||
<author>New York Times</author> | ||
<description>NYT TimesPeople social network - activities</description> | ||
<documentationURL>http://developer.nytimes.com/docs/timespeople_api/</documentationURL> | ||
</meta> | ||
<bindings> | ||
<select produces="JSON" itemPath="results"> | ||
<urls> | ||
<url>http://api.nytimes.com/svc/timespeople/api/{version}/user/{user-id}/activity.js?api-key={apikey}</url> | ||
</urls> | ||
<inputs> | ||
<key id="user-id" type="xs:string" paramType="path" required="true"/> | ||
<key id="version" type="xs:string" paramType="path" default="v1"/> | ||
<key id="apikey" private="true" type="xs:string" paramType="path" required="true"/> | ||
</inputs> | ||
</select> | ||
<select produces="XML" itemPath="result_set.results"> | ||
<urls> | ||
<url>http://api.nytimes.com/svc/timespeople/api/{version}/user/{user-id}/activity.xml?api-key={apikey}</url> | ||
</urls> | ||
<inputs> | ||
<key id="user-id" type="xs:string" paramType="path" required="true"/> | ||
<key id="version" type="xs:string" paramType="path" default="v1"/> | ||
<key id="apikey" private="true" type="xs:string" paramType="path" required="true"/> | ||
</inputs> | ||
</select> | ||
</bindings> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0"?> | ||
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd"> | ||
<meta> | ||
<author>New York Times</author> | ||
<description>NYT TimesPeople social network - followers</description> | ||
<documentationURL>http://developer.nytimes.com/docs/timespeople_api/</documentationURL> | ||
</meta> | ||
<bindings> | ||
<select produces="JSON" itemPath="results"> | ||
<urls> | ||
<url>http://api.nytimes.com/svc/timespeople/api/{version}/user/{user-id}/followers.js?api-key={apikey}</url> | ||
</urls> | ||
<inputs> | ||
<key id="user-id" type="xs:string" paramType="path" required="true"/> | ||
<key id="version" type="xs:string" paramType="path" default="v1"/> | ||
<key id="apikey" private="true" type="xs:string" paramType="path" required="true"/> | ||
</inputs> | ||
</select> | ||
<select produces="XML" itemPath="result_set.results"> | ||
<urls> | ||
<url>http://api.nytimes.com/svc/timespeople/api/{version}/user/{user-id}/followers.xml?api-key={apikey}</url> | ||
</urls> | ||
<inputs> | ||
<key id="user-id" type="xs:string" paramType="path" required="true"/> | ||
<key id="version" type="xs:string" paramType="path" default="v1"/> | ||
<key id="apikey" private="true" type="xs:string" paramType="path" required="true"/> | ||
</inputs> | ||
</select> | ||
</bindings> | ||
</table> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0"?> | ||
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd"> | ||
<meta> | ||
<author>New York Times</author> | ||
<description>NYT TimesPeople social network - following</description> | ||
<documentationURL>http://developer.nytimes.com/docs/timespeople_api/</documentationURL> | ||
</meta> | ||
<bindings> | ||
<select produces="JSON" itemPath="results"> | ||
<urls> | ||
<url>http://api.nytimes.com/svc/timespeople/api/{version}/user/{user-id}/following.js?api-key={apikey}</url> | ||
</urls> | ||
<inputs> | ||
<key id="user-id" type="xs:string" paramType="path" required="true"/> | ||
<key id="version" type="xs:string" paramType="path" default="v1"/> | ||
<key id="apikey" private="true" type="xs:string" paramType="path" required="true"/> | ||
</inputs> | ||
</select> | ||
<select produces="XML" itemPath="result_set.results"> | ||
<urls> | ||
<url>http://api.nytimes.com/svc/timespeople/api/{version}/user/{user-id}/following.xml?api-key={apikey}</url> | ||
</urls> | ||
<inputs> | ||
<key id="user-id" type="xs:string" paramType="path" required="true"/> | ||
<key id="version" type="xs:string" paramType="path" default="v1"/> | ||
<key id="apikey" private="true" type="xs:string" paramType="path" required="true"/> | ||
</inputs> | ||
</select> | ||
|
||
</bindings> | ||
</table> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0"?> | ||
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd"> | ||
<meta> | ||
<author>New York Times</author> | ||
<description>NYT TimesPeople social network - newsfeed</description> | ||
<documentationURL>http://developer.nytimes.com/docs/timespeople_api/</documentationURL> | ||
</meta> | ||
<bindings> | ||
|
||
<select produces="JSON" itemPath="results"> | ||
<urls> | ||
<url>http://api.nytimes.com/svc/timespeople/api/{version}/user/{user-id}/newsfeed.js?api-key={apikey}</url> | ||
</urls> | ||
<inputs> | ||
<key id="user-id" type="xs:string" paramType="path" required="true"/> | ||
<key id="version" type="xs:string" paramType="path" default="v1"/> | ||
<key id="apikey" private="true" type="xs:string" paramType="path" required="true"/> | ||
</inputs> | ||
</select> | ||
<select produces="XML" itemPath="result_set.results"> | ||
<urls> | ||
<url>http://api.nytimes.com/svc/timespeople/api/{version}/user/{user-id}/newsfeed.xml?api-key={apikey}</url> | ||
</urls> | ||
<inputs> | ||
<key id="user-id" type="xs:string" paramType="path" required="true"/> | ||
<key id="version" type="xs:string" paramType="path" default="v1"/> | ||
<key id="apikey" private="true" type="xs:string" paramType="path" required="true"/> | ||
</inputs> | ||
</select> | ||
</bindings> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0"?> | ||
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd"> | ||
<meta> | ||
<author>New York Times</author> | ||
<description>NYT TimesPeople Social Network - Profiles</description> | ||
<documentationURL>http://developer.nytimes.com/docs/timespeople_api/</documentationURL> | ||
</meta> | ||
<bindings> | ||
<select produces="JSON" itemPath="results"> | ||
<urls> | ||
<url>http://api.nytimes.com/svc/timespeople/api/{version}/user/{user-id}/profile.js?api-key={apikey}</url> | ||
</urls> | ||
<inputs> | ||
<key id="user-id" type="xs:string" paramType="path" required="true"/> | ||
<key id="version" type="xs:string" paramType="path" default="v1"/> | ||
<key id="apikey" private="true" type="xs:string" paramType="path" required="true"/> | ||
</inputs> | ||
</select> | ||
|
||
<select produces="XML" itemPath="result_set.results"> | ||
<urls> | ||
<url>http://api.nytimes.com/svc/timespeople/api/{version}/user/{user-id}/profile.xml?api-key={apikey}</url> | ||
</urls> | ||
<inputs> | ||
<key id="user-id" type="xs:string" paramType="path" required="true"/> | ||
<key id="version" type="xs:string" paramType="path" default="v1"/> | ||
<key id="apikey" private="true" type="xs:string" paramType="path" required="true"/> | ||
</inputs> | ||
</select> | ||
</bindings> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0"?> | ||
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd"> | ||
<meta> | ||
<author>New York Times</author> | ||
<description>NYT TimesPeople social network - users</description> | ||
<documentationURL>http://developer.nytimes.com/docs/timespeople_api/</documentationURL> | ||
</meta> | ||
<bindings> | ||
<select produces="JSON" itemPath="results"> | ||
<urls> | ||
<url>http://api.nytimes.com/svc/timespeople/api/{version}/user/{email-hash}/id.js?api-key={apikey}</url> | ||
</urls> | ||
<inputs> | ||
<key id="email-hash" type="xs:string" paramType="path" required="true"/> | ||
<key id="version" type="xs:string" paramType="path" default="v1"/> | ||
<key id="apikey" private="true" type="xs:string" paramType="path" required="true"/> | ||
</inputs> | ||
</select> | ||
<select produces="XML" itemPath="result_set.results"> | ||
<urls> | ||
<url>http://api.nytimes.com/svc/timespeople/api/{version}/user/{email-hash}/id.js?api-key={apikey}</url> | ||
</urls> | ||
<inputs> | ||
<key id="email-hash" type="xs:string" paramType="path" required="true"/> | ||
<key id="version" type="xs:string" paramType="path" default="v1"/> | ||
<key id="apikey" private="true" type="xs:string" paramType="path" required="true"/> | ||
</inputs> | ||
</select> | ||
</bindings> | ||
</table> |
This file was deleted.
Oops, something went wrong.