# פרטי Subreddit

**API:** Data API

**Endpoint:** `GET /v1/beta/reddit/subreddit/details`

**Tags:** Reddit

שליפת פרטי קהילה באמצעות subreddit. ייתכן שכללים יוחזרו כרשומות מובנות או כטקסט; בדקו את סכימת התגובה לייצוגים הנתמכים.

### מראה תמחור

- מדידה: מספר תוצאות נמדד.
- אומדן בקשת ייחוס: 0.00188 דולר ארה״ב.
- מכפיל לקוח לייחוס: 1.0. אין להחיל אותו בשנית על סכום לקוח שכבר נקבע.

זהו מטא-נתון לעיון בלבד, לא הצעת מחיר לחשבון, לא מחיר מובטח ולא תקרת הוצאה. קרדיטי משאבים אינם קרדיטים של Felo. החיוב הסופי נעשה לפי רשומות החיוב של Felo.

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `subreddit` | query | no | string |  |

## Responses

### 200 — תגובה מוצלחת

Headers:
- `X-Request-Id` (string) — מזהה בקשה לכלול בעת פנייה לתמיכת Felo.

**application/json**

Schema: `Response799D183Abaf0_RedditSubredditDetailsResponse` (`#/components/schemas/Response799D183Abaf0_RedditSubredditDetailsResponse`)

Example:

```json
{
  "success": true,
  "credits_remaining": 33950256,
  "subreddit_id": "t5_a7wuv",
  "display_name": "AbsoluteUnits",
  "weekly_active_users": 1428398,
  "weekly_contributions": 8923,
  "rules": "#ABSOLUTE UNITS\n\n---\n\n    Be in awe at the size of these lads\n\n---\n\n###[Check out our deep, well-reflected definitions of an absolute unit.](https://www.reddit.com/r/AbsoluteUnits/wiki/index)  ",
  "description": "יחידה מוחלטת: חיה או דמות ציבורית גדולה מהצפוי בדרך כלל.",
  "header_img": null,
  "icon_img": "https://styles.redditmedia.com/t5_a7wuv/styles/communityIcon_t3cspt08bl681.png?width=128&frame=1&auto=webp&s=6f7e59ccf1724bd6c8b3e0d2840c9b21297102c3",
  "subscribers": 1923642,
  "advertiser_category": "",
  "created_at": "2018-01-05T10:35:24.000Z",
  "submit_text": ""
}
```

### 400 — לא ניתן היה לעבד את הבקשה. בדקו את פרמטרי הבקשה.

### 401 — נדרש מפתח API תקף של Felo.

### 402 — לא ניתן להמשיך את הבקשה משום שדרישת חיוב אינה מתקיימת.

### 403 — החשבון אינו מורשה לבצע את הפעולה הזו.

### 429 — הגעתם למגבלת בקשות או לתקרת הוצאה.

### 502 — השירות לא הצליח להשלים את הבקשה.

### 503 — שירות ה-API או החיוב אינו זמין באופן זמני.

### 504 — השירות פג בזמן הטיפול בבקשה.

### default — תגובת שגיאה; תגובות מעבר מהמעלה הזרם עשויות להשתמש בפורמטים של הספק

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response799D183Abaf0_RedditSubredditDetailsResponse

`#/components/schemas/Response799D183Abaf0_RedditSubredditDetailsResponse`

```json
{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "credits_remaining": {
      "type": "integer"
    },
    "subreddit_id": {
      "type": "string"
    },
    "display_name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "subscribers": {
      "type": "integer"
    },
    "weekly_active_users": {
      "type": "integer"
    },
    "weekly_contributions": {
      "type": "integer"
    },
    "rules": {
      "type": [
        "array",
        "string"
      ],
      "items": {
        "type": "object",
        "additionalProperties": true
      },
      "description": "חוקי הקהילה כרשומות מובנות או כטקסט מעוצב."
    }
  },
  "additionalProperties": true
}
```
