|
704 | 704 | } |
705 | 705 | }, |
706 | 706 | { |
707 | | -<<<<<<< HEAD |
708 | 707 | "filename":"file_archive", |
709 | 708 | "docstring":"Demo of `Filearchive` module: Get a list of all deleted files.", |
710 | 709 | "endpoint":"https://en.wikipedia.org/w/api.php", |
711 | 710 | "params": { |
712 | 711 | "action":"query", |
713 | 712 | "list":"filearchive", |
714 | | -======= |
| 713 | +"format":"json" |
| 714 | +} |
| 715 | +}, |
| 716 | +{ |
715 | 717 | "filename":"get_file_usage", |
716 | 718 | "docstring":"Demo of `Fileusage` module: Get a list of pages using a given file.", |
717 | 719 | "endpoint":"https://en.wikipedia.org/w/api.php", |
718 | 720 | "params": { |
719 | 721 | "action":"query", |
720 | 722 | "titles":"File:Example.jpg", |
721 | 723 | "prop":"fileusage", |
722 | | ->>>>>>> Added Sample codes for API:Fileusage |
| 724 | +"format":"json" |
| 725 | +} |
| 726 | +}, |
| 727 | +{ |
| 728 | +"filename":"get_feed_recent_changes", |
| 729 | +"docstring":"Demo of `Feedrecentchanges` module: Show recent changes as an RSS feed.", |
| 730 | +"endpoint":"https://en.wikipedia.org/w/api.php", |
| 731 | +"params": { |
| 732 | +"action":"feedrecentchanges", |
723 | 733 | "format":"json" |
724 | 734 | } |
725 | 735 | } |
|