Criar regras
Cria regras para GET /trips/events/filtered. O corpo é um array de regras.
eventé obrigatório e não pode já ter regra (para alterar, usePATCH).- Informe
occurrences,durationou os dois; com os dois,operatoré obrigatório.
Resposta: 201 com corpo [].
Erros: 400 para JSON inválido; 422 para regras inválidas.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects a list of objects.
event
occurrences
Response
Created
Errors
400
Criar Regras Regras Request Bad Request Error
401
Criar Regras Regras Request Unauthorized Error
422
Criar Regras Regras Request Unprocessable Entity Error
