Changeset 43897 for branches/5.0/tests/qunit/fixtures/wp-api-generated.js
- Timestamp:
- 11/15/2018 12:56:54 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/tests/qunit/fixtures/wp-api-generated.js
r43851 r43897 851 851 ] 852 852 }, 853 "/wp/v2/posts/(?P< parent>[\\d]+)/autosaves": {853 "/wp/v2/posts/(?P<id>[\\d]+)/autosaves": { 854 854 "namespace": "wp/v2", 855 855 "methods": [ … … 878 878 "description": "Scope under which the request is made; determines fields present in response.", 879 879 "type": "string" 880 },881 "page": {882 "required": false,883 "default": 1,884 "description": "Current page of the collection.",885 "type": "integer"886 },887 "per_page": {888 "required": false,889 "description": "Maximum number of items to be returned in result set.",890 "type": "integer"891 },892 "search": {893 "required": false,894 "description": "Limit results to those matching a string.",895 "type": "string"896 },897 "exclude": {898 "required": false,899 "default": [],900 "description": "Ensure result set excludes specific IDs.",901 "type": "array",902 "items": {903 "type": "integer"904 }905 },906 "include": {907 "required": false,908 "default": [],909 "description": "Limit result set to specific IDs.",910 "type": "array",911 "items": {912 "type": "integer"913 }914 },915 "offset": {916 "required": false,917 "description": "Offset the result set by a specific number of items.",918 "type": "integer"919 },920 "order": {921 "required": false,922 "default": "desc",923 "enum": [924 "asc",925 "desc"926 ],927 "description": "Order sort attribute ascending or descending.",928 "type": "string"929 },930 "orderby": {931 "required": false,932 "default": "date",933 "enum": [934 "date",935 "id",936 "include",937 "relevance",938 "slug",939 "include_slugs",940 "title"941 ],942 "description": "Sort collection by object attribute.",943 "type": "string"944 880 } 945 881 } … … 955 891 "type": "integer" 956 892 }, 957 "author": {958 "required": false,959 "description": "The ID for the author of the object.",960 "type": "integer"961 },962 893 "date": { 963 894 "required": false, … … 970 901 "type": "string" 971 902 }, 972 "id": {973 "required": false,974 "description": "Unique identifier for the object.",975 "type": "integer"976 },977 "modified": {978 "required": false,979 "description": "The date the object was last modified, in the site's timezone.",980 "type": "string"981 },982 "modified_gmt": {983 "required": false,984 "description": "The date the object was last modified, as GMT.",985 "type": "string"986 },987 903 "slug": { 988 904 "required": false, 989 905 "description": "An alphanumeric identifier for the object unique to its type.", 906 "type": "string" 907 }, 908 "status": { 909 "required": false, 910 "enum": [ 911 "publish", 912 "future", 913 "draft", 914 "pending", 915 "private" 916 ], 917 "description": "A named status for the object.", 918 "type": "string" 919 }, 920 "password": { 921 "required": false, 922 "description": "A password to protect access to the content and excerpt.", 990 923 "type": "string" 991 924 }, … … 1000 933 "type": "object" 1001 934 }, 935 "author": { 936 "required": false, 937 "description": "The ID for the author of the object.", 938 "type": "integer" 939 }, 1002 940 "excerpt": { 1003 941 "required": false, 1004 942 "description": "The excerpt for the object.", 1005 943 "type": "object" 944 }, 945 "featured_media": { 946 "required": false, 947 "description": "The ID of the featured media for the object.", 948 "type": "integer" 949 }, 950 "comment_status": { 951 "required": false, 952 "enum": [ 953 "open", 954 "closed" 955 ], 956 "description": "Whether or not comments are open on the object.", 957 "type": "string" 958 }, 959 "ping_status": { 960 "required": false, 961 "enum": [ 962 "open", 963 "closed" 964 ], 965 "description": "Whether or not the object can be pinged.", 966 "type": "string" 967 }, 968 "format": { 969 "required": false, 970 "enum": [ 971 "standard", 972 "aside", 973 "chat", 974 "gallery", 975 "link", 976 "image", 977 "quote", 978 "status", 979 "video", 980 "audio" 981 ], 982 "description": "The format for the object.", 983 "type": "string" 984 }, 985 "meta": { 986 "required": false, 987 "description": "Meta fields.", 988 "type": "object" 989 }, 990 "sticky": { 991 "required": false, 992 "description": "Whether or not the object should be treated as sticky.", 993 "type": "boolean" 994 }, 995 "template": { 996 "required": false, 997 "description": "The theme file to use to display the object.", 998 "type": "string" 999 }, 1000 "categories": { 1001 "required": false, 1002 "description": "The terms assigned to the object in the category taxonomy.", 1003 "type": "array", 1004 "items": { 1005 "type": "integer" 1006 } 1007 }, 1008 "tags": { 1009 "required": false, 1010 "description": "The terms assigned to the object in the post_tag taxonomy.", 1011 "type": "array", 1012 "items": { 1013 "type": "integer" 1014 } 1006 1015 } 1007 1016 } … … 1651 1660 ] 1652 1661 }, 1653 "/wp/v2/pages/(?P< parent>[\\d]+)/autosaves": {1662 "/wp/v2/pages/(?P<id>[\\d]+)/autosaves": { 1654 1663 "namespace": "wp/v2", 1655 1664 "methods": [ … … 1678 1687 "description": "Scope under which the request is made; determines fields present in response.", 1679 1688 "type": "string" 1680 },1681 "page": {1682 "required": false,1683 "default": 1,1684 "description": "Current page of the collection.",1685 "type": "integer"1686 },1687 "per_page": {1688 "required": false,1689 "description": "Maximum number of items to be returned in result set.",1690 "type": "integer"1691 },1692 "search": {1693 "required": false,1694 "description": "Limit results to those matching a string.",1695 "type": "string"1696 },1697 "exclude": {1698 "required": false,1699 "default": [],1700 "description": "Ensure result set excludes specific IDs.",1701 "type": "array",1702 "items": {1703 "type": "integer"1704 }1705 },1706 "include": {1707 "required": false,1708 "default": [],1709 "description": "Limit result set to specific IDs.",1710 "type": "array",1711 "items": {1712 "type": "integer"1713 }1714 },1715 "offset": {1716 "required": false,1717 "description": "Offset the result set by a specific number of items.",1718 "type": "integer"1719 },1720 "order": {1721 "required": false,1722 "default": "desc",1723 "enum": [1724 "asc",1725 "desc"1726 ],1727 "description": "Order sort attribute ascending or descending.",1728 "type": "string"1729 },1730 "orderby": {1731 "required": false,1732 "default": "date",1733 "enum": [1734 "date",1735 "id",1736 "include",1737 "relevance",1738 "slug",1739 "include_slugs",1740 "title"1741 ],1742 "description": "Sort collection by object attribute.",1743 "type": "string"1744 1689 } 1745 1690 } … … 1755 1700 "type": "integer" 1756 1701 }, 1757 "author": {1758 "required": false,1759 "description": "The ID for the author of the object.",1760 "type": "integer"1761 },1762 1702 "date": { 1763 1703 "required": false, … … 1770 1710 "type": "string" 1771 1711 }, 1772 "id": {1773 "required": false,1774 "description": "Unique identifier for the object.",1775 "type": "integer"1776 },1777 "modified": {1778 "required": false,1779 "description": "The date the object was last modified, in the site's timezone.",1780 "type": "string"1781 },1782 "modified_gmt": {1783 "required": false,1784 "description": "The date the object was last modified, as GMT.",1785 "type": "string"1786 },1787 1712 "slug": { 1788 1713 "required": false, 1789 1714 "description": "An alphanumeric identifier for the object unique to its type.", 1715 "type": "string" 1716 }, 1717 "status": { 1718 "required": false, 1719 "enum": [ 1720 "publish", 1721 "future", 1722 "draft", 1723 "pending", 1724 "private" 1725 ], 1726 "description": "A named status for the object.", 1727 "type": "string" 1728 }, 1729 "password": { 1730 "required": false, 1731 "description": "A password to protect access to the content and excerpt.", 1790 1732 "type": "string" 1791 1733 }, … … 1800 1742 "type": "object" 1801 1743 }, 1744 "author": { 1745 "required": false, 1746 "description": "The ID for the author of the object.", 1747 "type": "integer" 1748 }, 1802 1749 "excerpt": { 1803 1750 "required": false, 1804 1751 "description": "The excerpt for the object.", 1805 1752 "type": "object" 1753 }, 1754 "featured_media": { 1755 "required": false, 1756 "description": "The ID of the featured media for the object.", 1757 "type": "integer" 1758 }, 1759 "comment_status": { 1760 "required": false, 1761 "enum": [ 1762 "open", 1763 "closed" 1764 ], 1765 "description": "Whether or not comments are open on the object.", 1766 "type": "string" 1767 }, 1768 "ping_status": { 1769 "required": false, 1770 "enum": [ 1771 "open", 1772 "closed" 1773 ], 1774 "description": "Whether or not the object can be pinged.", 1775 "type": "string" 1776 }, 1777 "menu_order": { 1778 "required": false, 1779 "description": "The order of the object in relation to other object of its type.", 1780 "type": "integer" 1781 }, 1782 "meta": { 1783 "required": false, 1784 "description": "Meta fields.", 1785 "type": "object" 1786 }, 1787 "template": { 1788 "required": false, 1789 "description": "The theme file to use to display the object.", 1790 "type": "string" 1806 1791 } 1807 1792 } … … 2585 2570 ] 2586 2571 }, 2587 "/wp/v2/blocks/(?P< parent>[\\d]+)/autosaves": {2572 "/wp/v2/blocks/(?P<id>[\\d]+)/autosaves": { 2588 2573 "namespace": "wp/v2", 2589 2574 "methods": [ … … 2612 2597 "description": "Scope under which the request is made; determines fields present in response.", 2613 2598 "type": "string" 2614 },2615 "page": {2616 "required": false,2617 "default": 1,2618 "description": "Current page of the collection.",2619 "type": "integer"2620 },2621 "per_page": {2622 "required": false,2623 "description": "Maximum number of items to be returned in result set.",2624 "type": "integer"2625 },2626 "search": {2627 "required": false,2628 "description": "Limit results to those matching a string.",2629 "type": "string"2630 },2631 "exclude": {2632 "required": false,2633 "default": [],2634 "description": "Ensure result set excludes specific IDs.",2635 "type": "array",2636 "items": {2637 "type": "integer"2638 }2639 },2640 "include": {2641 "required": false,2642 "default": [],2643 "description": "Limit result set to specific IDs.",2644 "type": "array",2645 "items": {2646 "type": "integer"2647 }2648 },2649 "offset": {2650 "required": false,2651 "description": "Offset the result set by a specific number of items.",2652 "type": "integer"2653 },2654 "order": {2655 "required": false,2656 "default": "desc",2657 "enum": [2658 "asc",2659 "desc"2660 ],2661 "description": "Order sort attribute ascending or descending.",2662 "type": "string"2663 },2664 "orderby": {2665 "required": false,2666 "default": "date",2667 "enum": [2668 "date",2669 "id",2670 "include",2671 "relevance",2672 "slug",2673 "include_slugs",2674 "title"2675 ],2676 "description": "Sort collection by object attribute.",2677 "type": "string"2678 2599 } 2679 2600 } … … 2689 2610 "type": "integer" 2690 2611 }, 2691 "author": {2692 "required": false,2693 "description": "The ID for the author of the object.",2694 "type": "integer"2695 },2696 2612 "date": { 2697 2613 "required": false, … … 2704 2620 "type": "string" 2705 2621 }, 2706 "id": {2707 "required": false,2708 "description": "Unique identifier for the object.",2709 "type": "integer"2710 },2711 "modified": {2712 "required": false,2713 "description": "The date the object was last modified, in the site's timezone.",2714 "type": "string"2715 },2716 "modified_gmt": {2717 "required": false,2718 "description": "The date the object was last modified, as GMT.",2719 "type": "string"2720 },2721 2622 "slug": { 2722 2623 "required": false, 2723 2624 "description": "An alphanumeric identifier for the object unique to its type.", 2625 "type": "string" 2626 }, 2627 "status": { 2628 "required": false, 2629 "enum": [ 2630 "publish", 2631 "future", 2632 "draft", 2633 "pending", 2634 "private" 2635 ], 2636 "description": "A named status for the object.", 2637 "type": "string" 2638 }, 2639 "password": { 2640 "required": false, 2641 "description": "A password to protect access to the content and excerpt.", 2724 2642 "type": "string" 2725 2643 }, … … 2733 2651 "description": "The content for the object.", 2734 2652 "type": "object" 2653 }, 2654 "template": { 2655 "required": false, 2656 "description": "The theme file to use to display the object.", 2657 "type": "string" 2735 2658 } 2736 2659 }
Note: See TracChangeset
for help on using the changeset viewer.