Skip to content

Commit

Permalink
forgot some endpoint change
Browse files Browse the repository at this point in the history
  • Loading branch information
kavaliero committed Sep 12, 2013
1 parent 244a726 commit f579440
Show file tree
Hide file tree
Showing 22 changed files with 23 additions and 161 deletions.
2 changes: 1 addition & 1 deletion twitter/v0.1/docs/.doc.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion twitter/v0.1/docs/Account.html
Original file line number Diff line number Diff line change
Expand Up @@ -1574,7 +1574,7 @@
</div>

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 01:12:20 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 13:25:58 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion twitter/v0.1/docs/Block.html
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@
</div>

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 01:12:20 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 13:25:58 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion twitter/v0.1/docs/Direct_Message.html
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@
</div>

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 01:12:20 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 13:25:57 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion twitter/v0.1/docs/Favorite.html
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@
</div>

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 01:12:20 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 13:25:58 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion twitter/v0.1/docs/Friends_and Followers.html
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@
</div>

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 01:12:18 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 13:25:56 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion twitter/v0.1/docs/Friendship.html
Original file line number Diff line number Diff line change
Expand Up @@ -1228,7 +1228,7 @@
</div>

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 01:12:20 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 13:25:58 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion twitter/v0.1/docs/Geo.html
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@
</div>

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 01:12:18 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 13:25:56 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion twitter/v0.1/docs/Help.html
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@
</div>

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 01:12:18 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 13:25:56 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion twitter/v0.1/docs/Legal.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
</div>

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 01:12:20 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 13:25:58 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion twitter/v0.1/docs/List.html
Original file line number Diff line number Diff line change
Expand Up @@ -1607,7 +1607,7 @@
</div>

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 01:12:20 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 13:25:58 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion twitter/v0.1/docs/List_Members.html
Original file line number Diff line number Diff line change
Expand Up @@ -1266,7 +1266,7 @@
</div>

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 01:12:19 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 13:25:57 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion twitter/v0.1/docs/List_Subscribers.html
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@
</div>

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 01:12:19 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 13:25:57 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion twitter/v0.1/docs/Local_Trends.html
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@
</div>

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 01:12:21 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 13:25:58 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion twitter/v0.1/docs/Saved_Search.html
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@
</div>

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 01:12:20 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 13:25:57 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion twitter/v0.1/docs/Search.html
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@
</div>

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 01:12:20 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 13:25:57 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
123 changes: 1 addition & 122 deletions twitter/v0.1/docs/Spam_Reporting.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,127 +11,6 @@



<div class="endpoint" data-group="documentation" id="endpoint-reportSpam" style="">
<div class="title">
<span class="method POST"> POST </span><span class="route">
reportSpam
</span>
</div>


<div class="meta">
<p>The user specified in the id is blocked by the authenticated user and reported as a spammer.<br/></p>
</div>
<hr>







<div class="parameters">
<div class="titles">
<div class="console">Default</div>
<div class="description">Description</div>
<div class="name">Parameter</div>
</div>








<div class="parameter">
<div class="console"><p>json</p></div>
<div class="description">


<span class="parameter-type">string</span>




<p> undefined </p>
</div>
<div class="name">
<span class="parameter-name"> format </span>


<p class="required" >Required</p>

</div>

</div>

<div class="parameter">
<div class="console"><p></p></div>
<div class="description">


<span class="parameter-type">string</span>




<p> The ID or screen_name of the user you want to report as a spammer. Helpful for disambiguating when a valid screen name is also a user ID. </p>
</div>
<div class="name">
<span class="parameter-name"> screen_name </span>

<p class="optional">Optional</p>


</div>

</div>

<div class="parameter">
<div class="console"><p></p></div>
<div class="description">


<span class="parameter-type">integer</span>




<p> The ID of the user you want to report as a spammer. Helpful for disambiguating when a valid user ID is also a valid screen name. </p>
</div>
<div class="name">
<span class="parameter-name"> user_id </span>

<p class="optional">Optional</p>


</div>

</div>

</div>



</div>

















<div class="endpoint" data-group="documentation" id="endpoint-reportUser" style="">
<div class="title">
<span class="method POST"> POST </span><span class="route">
Expand Down Expand Up @@ -254,7 +133,7 @@
</div>

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 01:12:20 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 13:25:57 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion twitter/v0.1/docs/Streaming.html
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@
</div>

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 01:12:20 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 13:25:58 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion twitter/v0.1/docs/Timeline.html
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@
</div>

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 01:12:21 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 13:25:58 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion twitter/v0.1/docs/Tweets.html
Original file line number Diff line number Diff line change
Expand Up @@ -1464,7 +1464,7 @@
</div>

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 01:12:20 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 13:25:58 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion twitter/v0.1/docs/User.html
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,7 @@
</div>

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 01:12:21 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Sep 12 2013 13:25:58 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
21 changes: 2 additions & 19 deletions twitter/v0.1/twitter
Original file line number Diff line number Diff line change
Expand Up @@ -1610,7 +1610,7 @@ exports.favorites = function(args, opts) {
* @methodhttp POST
*/
exports.favoriteStatus = function(args, opts) {
var url = 'https://api.twitter.com/1.1/favorites/create/{id}.{format}';
var url = 'https://api.twitter.com/1.1/favorites/create.{format}';
args = args || {};
url = url_replace(url, args, 'format', 'str', true, "json");
url = url_replace(url, args, 'id', 'int', true);
Expand All @@ -1627,7 +1627,7 @@ exports.favoriteStatus = function(args, opts) {
* @methodhttp DELETE
*/
exports.unfavoriteStatus = function(args, opts) {
var url = 'https://api.twitter.com/1.1/favorites/destroy/{id}.{format}';
var url = 'https://api.twitter.com/1.1/favorites/destroy.{format}';
args = args || {};
url = url_replace(url, args, 'format', 'str', true, "json");
url = url_replace(url, args, 'id', 'int', true);
Expand Down Expand Up @@ -1713,23 +1713,6 @@ exports.blockedIds = function(args, opts) {
return http({url:url, params:args, auth:'oauth1', provider:provider}, opts);
};

/**
* The user specified in the id is blocked by the authenticated user and reported as a spammer.
* @category Spam Reporting
* @param {string} [format=json] undefined
* @param {string} screen_name The ID or screen_name of the user you want to report as a spammer. Helpful for disambiguating when a valid screen name is also a user ID.
* @param {integer} user_id The ID of the user you want to report as a spammer. Helpful for disambiguating when a valid user ID is also a valid screen name.
* @methodhttp POST
*/
exports.reportSpam = function(args, opts) {
var url = 'https://api.twitter.com/1.1/report_spam.{format}';
args = args || {};
url = url_replace(url, args, 'format', 'str', true, "json");
url = url_replace(url, args, 'screen_name', 'str');
url = url_replace(url, args, 'user_id', 'int');
return http.post({url:url, body:args, auth:'oauth1', provider:provider}, opts);
};

/**
* Returns the authenticated user's saved search queries.
* @category Saved Search
Expand Down

0 comments on commit f579440

Please sign in to comment.