Octri

docs show

يطبع صفحة نقطة نهاية واحدة: عنوانها، ثم المحتوى المخزّن لها. تحتوي صفحة نقطة النهاية على محتوى منظّم، مثل الوصف والمعلمات، لذا يُطبع بصيغة JSON. خذ المعرّف المختصر من docs pages.

bash
octri docs show <slug>

الوسيطات

<slug>stringمطلوب

المعرّف المختصر للصفحة، مثل get-customers.

أمثلة

عرض صفحة

bash
octri docs show get-customers
Output
✔ Loading get-customers
── get-customers ───────────────────────────────────────────────────────────────────────────────────
{
  "page": {
    "id": "6acd4f5218c2528b59327457",
    "projectId": "6acd4f5218c2528b5932744f",
    "specId": "6acd4f5218c2528b59327451",
    "type": "endpoint",
    "slug": "get-customers",
    "title": "List customers",
    "generationStatus": "template",
    "viewCount": 1,
    "content": {
      "description": "Newest first. Page with `starting_after`, using the id of the last customer on the previous page.",
  …
  • octri docs pages: اعرض صفحات نقاط النهاية المُنشأة من مواصفاتك وأعِد إنشاءها وأعِد تسميتها وانشرها.