मुखपृष्ठ / विशेषज्ञों को काम भेजना

विशेषज्ञों को काम भेजना

विशेषज्ञों के सेक्शन में काम का अनुरोध भेजें। संपर्क के फ़ील्ड, अनुरोध की सामग्री और मॉडरेशन के लिए भेजे जाने का जवाब देखें।

इस पेज पर

विषय-सूची से विधि चुनें। HTTP विधि, पथ, अनुमतियाँ, अनिवार्य पैरामीटर और अनुरोध बॉडी जाँचें। schema, properties और $ref वाले JSON ब्लॉक अनुबंध बताते हैं; उन्हें तैयार अनुरोध बॉडी की तरह न भेजें। अनुरोध उदाहरण और उत्तर स्कीमा अलग चिन्हित हैं।

POST /public-api/v1/specialist-requests

विशेषज्ञ अनुभाग में पहले से सत्यापित संपर्क ईमेल का उपयोग करें और ग्राहक के वर्तमान नियम स्वीकार करें।

संबंधित डेटा मॉडल: CacheControl · RateLimitLimit · RateLimitRemaining · RateLimitResetAt · RetryAfter · XRequestID · ErrorResponse

अनुमतियाँ: specialist-requests:write

पैरामीटर

Idempotency-Key (header)

{
  "required": true,
  "schema": {
    "type": "string",
    "minLength": 1,
    "maxLength": 128,
    "pattern": "^[A-Za-z0-9._:-]+$"
  }
}

अनुरोध

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "title",
          "description",
          "category",
          "language",
          "email",
          "currency",
          "budget_type",
          "payment_methods",
          "rules_version",
          "accept_terms"
        ],
        "oneOf": [
          {
            "properties": {
              "budget_type": {
                "enum": [
                  "fixed",
                  "approximate"
                ]
              }
            },
            "required": [
              "budget_minor"
            ]
          },
          {
            "properties": {
              "budget_type": {
                "enum": [
                  "negotiable"
                ]
              }
            },
            "not": {
              "required": [
                "budget_minor"
              ]
            }
          }
        ],
        "properties": {
          "title": {
            "type": "string",
            "minLength": 5,
            "maxLength": 200
          },
          "description": {
            "type": "string",
            "minLength": 100,
            "maxLength": 5000
          },
          "category": {
            "type": "string",
            "enum": [
              "technical",
              "seo",
              "content",
              "speed",
              "analytics",
              "reputation",
              "directory_registration",
              "crowd_links",
              "text_optimization",
              "contextual_ads",
              "website_development",
              "website_modernization",
              "outreach"
            ],
            "example": "seo"
          },
          "language": {
            "type": "string",
            "example": "en"
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "currency": {
            "type": "string",
            "example": "USD"
          },
          "budget_type": {
            "type": "string",
            "enum": [
              "fixed",
              "approximate",
              "negotiable"
            ]
          },
          "budget_minor": {
            "type": "integer",
            "format": "int64",
            "minimum": 1,
            "maximum": 10000000000
          },
          "payment_methods": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "bank_transfer",
                "card_transfer",
                "sbp",
                "yoomoney",
                "card_payment",
                "paypal",
                "swift",
                "bank_transfer_individual",
                "bank_transfer_business"
              ]
            }
          },
          "rules_version": {
            "type": "integer",
            "example": 2
          },
          "accept_terms": {
            "type": "boolean",
            "enum": [
              true
            ]
          }
        }
      }
    }
  }
}

प्रतिक्रियाएँ

201

अनुरोध समीक्षा के लिए भेज दिया गया है।

{
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "data"
        ],
        "properties": {
          "data": {
            "type": "object",
            "required": [
              "id",
              "status"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "pending_moderation"
                ]
              }
            }
          }
        }
      }
    }
  }
}

400

कुंजी अनुपस्थित या अमान्य होने पर सीमा हेडर प्रति IP विफल प्रयासों को दर्शाते हैं। प्रमाणीकरण के बाद वे कुंजी या खाते की सीमा दर्शाते हैं। पहले से रोक या काउंटर अनुपलब्ध होने पर हेडर अनुपस्थित हो सकते हैं। X-RateLimit-Reset सेकंड में Unix समय है; 429 पर Retry-After सेकंड में प्रतीक्षा है।

{
  "headers": {
    "X-Request-ID": {
      "$ref": "#/components/headers/XRequestID"
    },
    "X-RateLimit-Limit": {
      "$ref": "#/components/headers/RateLimitLimit"
    },
    "X-RateLimit-Remaining": {
      "$ref": "#/components/headers/RateLimitRemaining"
    },
    "X-RateLimit-Reset": {
      "$ref": "#/components/headers/RateLimitResetAt"
    },
    "Cache-Control": {
      "$ref": "#/components/headers/CacheControl"
    },
    "Retry-After": {
      "$ref": "#/components/headers/RetryAfter"
    }
  },
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/ErrorResponse"
      }
    }
  }
}

401

{
  "headers": {
    "X-Request-ID": {
      "$ref": "#/components/headers/XRequestID"
    },
    "X-RateLimit-Limit": {
      "$ref": "#/components/headers/RateLimitLimit"
    },
    "X-RateLimit-Remaining": {
      "$ref": "#/components/headers/RateLimitRemaining"
    },
    "X-RateLimit-Reset": {
      "$ref": "#/components/headers/RateLimitResetAt"
    },
    "Cache-Control": {
      "$ref": "#/components/headers/CacheControl"
    },
    "Retry-After": {
      "$ref": "#/components/headers/RetryAfter"
    }
  },
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/ErrorResponse"
      }
    }
  }
}

403

{
  "headers": {
    "X-Request-ID": {
      "$ref": "#/components/headers/XRequestID"
    },
    "X-RateLimit-Limit": {
      "$ref": "#/components/headers/RateLimitLimit"
    },
    "X-RateLimit-Remaining": {
      "$ref": "#/components/headers/RateLimitRemaining"
    },
    "X-RateLimit-Reset": {
      "$ref": "#/components/headers/RateLimitResetAt"
    },
    "Cache-Control": {
      "$ref": "#/components/headers/CacheControl"
    },
    "Retry-After": {
      "$ref": "#/components/headers/RetryAfter"
    }
  },
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/ErrorResponse"
      }
    }
  }
}

409

{
  "headers": {
    "X-Request-ID": {
      "$ref": "#/components/headers/XRequestID"
    },
    "X-RateLimit-Limit": {
      "$ref": "#/components/headers/RateLimitLimit"
    },
    "X-RateLimit-Remaining": {
      "$ref": "#/components/headers/RateLimitRemaining"
    },
    "X-RateLimit-Reset": {
      "$ref": "#/components/headers/RateLimitResetAt"
    },
    "Cache-Control": {
      "$ref": "#/components/headers/CacheControl"
    },
    "Retry-After": {
      "$ref": "#/components/headers/RetryAfter"
    }
  },
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/ErrorResponse"
      }
    }
  }
}

429

{
  "headers": {
    "X-Request-ID": {
      "$ref": "#/components/headers/XRequestID"
    },
    "X-RateLimit-Limit": {
      "$ref": "#/components/headers/RateLimitLimit"
    },
    "X-RateLimit-Remaining": {
      "$ref": "#/components/headers/RateLimitRemaining"
    },
    "X-RateLimit-Reset": {
      "$ref": "#/components/headers/RateLimitResetAt"
    },
    "Cache-Control": {
      "$ref": "#/components/headers/CacheControl"
    },
    "Retry-After": {
      "$ref": "#/components/headers/RetryAfter"
    }
  },
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/ErrorResponse"
      }
    }
  }
}