Início / Pedidos a especialistas

Pedidos a especialistas

Envie uma solicitação de trabalho para a seção de especialistas. Confira os campos de contato, o conteúdo do pedido e a resposta de envio para moderação.

Nesta página

Escolha um método no índice. Confira o método HTTP, o caminho, as permissões, os parâmetros obrigatórios e o corpo. Blocos JSON com schema, properties e $ref descrevem o contrato; não os envie como corpo pronto de uma solicitação. Exemplos de solicitações e esquemas de resposta têm rótulos separados.

POST /public-api/v1/specialist-requests

Enviar para moderação um pedido para encontrar um especialista. Use o e-mail de contacto já verificado em Especialistas e aceite as regras atuais para clientes.

Modelos de dados relacionados: CacheControl · RateLimitLimit · RateLimitRemaining · RateLimitResetAt · RetryAfter · XRequestID · ErrorResponse

Permissões: specialist-requests:write

Parâmetros

Idempotency-Key (header)

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

Pedido

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

Respostas

201

Pedido enviado para moderação.

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

Sem uma chave válida, os cabeçalhos de limites indicam tentativas falhadas por IP. Após a autenticação, indicam o limite da chave ou conta. Podem faltar por bloqueio prévio ou contador indisponível. X-RateLimit-Reset é um timestamp Unix em segundos; Retry-After em 429 é uma espera em segundos.

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