Strona główna / Zlecenia dla specjalistów

Zlecenia dla specjalistów

Wyślij zgłoszenie pracy do sekcji specjalistów. Sprawdź dane kontaktowe, treść zlecenia i odpowiedź potwierdzającą przekazanie do moderacji.

Na tej stronie

Wybierz metodę ze spisu treści. Sprawdź metodę HTTP, ścieżkę, uprawnienia, wymagane parametry i treść żądania. Bloki JSON zawierające schema, properties i $ref opisują kontrakt; nie wysyłaj ich jako gotowej treści żądania. Przykłady żądań i schematy odpowiedzi są oznaczone osobno.

POST /public-api/v1/specialist-requests

Przesłać do moderacji zgłoszenie w sprawie znalezienia specjalisty. Użyj zweryfikowanego adresu kontaktowego podanego w sekcji Specjaliści i zaakceptuj aktualne zasady dla klientów.

Powiązane modele danych: CacheControl · RateLimitLimit · RateLimitRemaining · RateLimitResetAt · RetryAfter · XRequestID · ErrorResponse

Uprawnienia: specialist-requests:write

Parametry

Idempotency-Key (header)

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

Żądanie

{
  "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
            ]
          }
        }
      }
    }
  }
}

Odpowiedzi

201

Zgłoszenie przesłane do moderacji.

{
  "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

Bez poprawnego klucza nagłówki limitów dotyczą nieudanych prób z IP. Po uwierzytelnieniu dotyczą klucza lub konta. Mogą być pominięte przy wcześniejszej blokadzie lub niedostępnym liczniku. X-RateLimit-Reset to czas Unix w sekundach; Retry-After przy 429 to opóźnienie w sekundach.

{
  "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"
      }
    }
  }
}