|
1602 | 1602 | }
|
1603 | 1603 | },
|
1604 | 1604 | "/tables/{tableID}/rows/{rowID}": {
|
| 1605 | + "get": { |
| 1606 | + "responses": { |
| 1607 | + "200": { |
| 1608 | + "description": "", |
| 1609 | + "content": { |
| 1610 | + "application/json": { |
| 1611 | + "schema": { |
| 1612 | + "type": "object", |
| 1613 | + "properties": { |
| 1614 | + "data": { |
| 1615 | + "type": "array", |
| 1616 | + "items": { |
| 1617 | + "type": "object", |
| 1618 | + "additionalProperties": {}, |
| 1619 | + "description": "A row object conforming to the schema of the table, where keys are the column IDs and values are the column values:\n\n```json\n{\n\t\"fullName\": \"Alex Bard\",\n\t\"invoiceDate\": \"2024-07-29T14:04:15.561Z\",\n\t\"totalAmount\": 34.50,\n\t\"amountPaid\": 0\n}\n```", |
| 1620 | + "example": { |
| 1621 | + "fullName": "Alex Bard", |
| 1622 | + "invoiceDate": "2024-07-29T14:04:15.561Z", |
| 1623 | + "totalAmount": 34.5, |
| 1624 | + "amountPaid": 0 |
| 1625 | + } |
| 1626 | + }, |
| 1627 | + "description": "A collection of row objects conforming to the schema of the table where keys are the column IDs and values are the column values:\n\n```json\n[\n\t{\n\t\t\"fullName\": \"Alex Bard\",\n\t\t\"invoiceDate\": \"2024-07-29T14:04:15.561Z\",\n\t\t\"totalAmount\": 34.50,\n\t\t\"amountPaid\": 0\n\t},\n\t{\n\t\t\"fullName\": \"Alicia Hines\",\n\t\t\"invoiceDate\": \"2023-06-15T10:30:00.000Z\",\n\t\t\"totalAmount\": 50.75,\n\t\t\"amountPaid\": 20\n\t}\n]\n```", |
| 1628 | + "example": [ |
| 1629 | + { |
| 1630 | + "fullName": "Alex Bard", |
| 1631 | + "invoiceDate": "2024-07-29T14:04:15.561Z", |
| 1632 | + "totalAmount": 34.5, |
| 1633 | + "amountPaid": 0 |
| 1634 | + }, |
| 1635 | + { |
| 1636 | + "fullName": "Alicia Hines", |
| 1637 | + "invoiceDate": "2023-06-15T10:30:00.000Z", |
| 1638 | + "totalAmount": 50.75, |
| 1639 | + "amountPaid": 20 |
| 1640 | + } |
| 1641 | + ] |
| 1642 | + } |
| 1643 | + }, |
| 1644 | + "required": [ |
| 1645 | + "data" |
| 1646 | + ], |
| 1647 | + "additionalProperties": false |
| 1648 | + } |
| 1649 | + } |
| 1650 | + } |
| 1651 | + }, |
| 1652 | + "400": { |
| 1653 | + "description": "", |
| 1654 | + "content": { |
| 1655 | + "application/json": { |
| 1656 | + "schema": { |
| 1657 | + "type": "object", |
| 1658 | + "properties": { |
| 1659 | + "error": { |
| 1660 | + "type": "object", |
| 1661 | + "properties": { |
| 1662 | + "type": { |
| 1663 | + "type": "string" |
| 1664 | + }, |
| 1665 | + "message": { |
| 1666 | + "type": "string" |
| 1667 | + } |
| 1668 | + }, |
| 1669 | + "required": [ |
| 1670 | + "type", |
| 1671 | + "message" |
| 1672 | + ], |
| 1673 | + "additionalProperties": false |
| 1674 | + } |
| 1675 | + }, |
| 1676 | + "required": [ |
| 1677 | + "error" |
| 1678 | + ], |
| 1679 | + "additionalProperties": false |
| 1680 | + } |
| 1681 | + } |
| 1682 | + } |
| 1683 | + }, |
| 1684 | + "402": { |
| 1685 | + "description": "", |
| 1686 | + "content": { |
| 1687 | + "application/json": { |
| 1688 | + "schema": { |
| 1689 | + "type": "object", |
| 1690 | + "properties": { |
| 1691 | + "error": { |
| 1692 | + "type": "object", |
| 1693 | + "properties": { |
| 1694 | + "type": { |
| 1695 | + "type": "string", |
| 1696 | + "enum": [ |
| 1697 | + "payment_required" |
| 1698 | + ] |
| 1699 | + }, |
| 1700 | + "message": { |
| 1701 | + "type": "string" |
| 1702 | + } |
| 1703 | + }, |
| 1704 | + "required": [ |
| 1705 | + "type", |
| 1706 | + "message" |
| 1707 | + ], |
| 1708 | + "additionalProperties": false |
| 1709 | + } |
| 1710 | + }, |
| 1711 | + "required": [ |
| 1712 | + "error" |
| 1713 | + ], |
| 1714 | + "additionalProperties": false |
| 1715 | + } |
| 1716 | + } |
| 1717 | + } |
| 1718 | + }, |
| 1719 | + "404": { |
| 1720 | + "description": "", |
| 1721 | + "content": { |
| 1722 | + "application/json": { |
| 1723 | + "schema": { |
| 1724 | + "type": "object", |
| 1725 | + "properties": { |
| 1726 | + "error": { |
| 1727 | + "type": "object", |
| 1728 | + "properties": { |
| 1729 | + "type": { |
| 1730 | + "type": "string", |
| 1731 | + "enum": [ |
| 1732 | + "table_not_found", |
| 1733 | + "table_not_big_table", |
| 1734 | + "row_not_found" |
| 1735 | + ] |
| 1736 | + }, |
| 1737 | + "message": { |
| 1738 | + "type": "string" |
| 1739 | + } |
| 1740 | + }, |
| 1741 | + "required": [ |
| 1742 | + "type", |
| 1743 | + "message" |
| 1744 | + ], |
| 1745 | + "additionalProperties": false |
| 1746 | + } |
| 1747 | + }, |
| 1748 | + "required": [ |
| 1749 | + "error" |
| 1750 | + ], |
| 1751 | + "additionalProperties": false |
| 1752 | + } |
| 1753 | + } |
| 1754 | + } |
| 1755 | + } |
| 1756 | + }, |
| 1757 | + "parameters": [ |
| 1758 | + { |
| 1759 | + "name": "tableID", |
| 1760 | + "in": "path", |
| 1761 | + "schema": { |
| 1762 | + "type": "string", |
| 1763 | + "description": "ID of the table, e.g., `2a1bad8b-cf7c-44437-b8c1-e3782df6`", |
| 1764 | + "example": "2a1bad8b-cf7c-44437-b8c1-e3782df6" |
| 1765 | + }, |
| 1766 | + "required": true |
| 1767 | + }, |
| 1768 | + { |
| 1769 | + "name": "rowID", |
| 1770 | + "in": "path", |
| 1771 | + "schema": { |
| 1772 | + "type": "string", |
| 1773 | + "description": "ID of the row, e.g., `zcJWnyI8Tbam21V34K8MNA`", |
| 1774 | + "example": "zcJWnyI8Tbam21V34K8MNA" |
| 1775 | + }, |
| 1776 | + "required": true |
| 1777 | + } |
| 1778 | + ], |
| 1779 | + "description": "Gets a single row from a Big Table by row ID" |
| 1780 | + }, |
1605 | 1781 | "patch": {
|
1606 | 1782 | "responses": {
|
1607 | 1783 | "200": {
|
|
0 commit comments