/service/reports/profile-report/

ProfileReport ViewSet.

POST /profile-report/ accepts either object or an array of objects
e.g. {profile_id: 1, report_id: 1}
OR [{profile_id: 1, report_id: 1}, {profile_id: 1, report_id: 2}, ... ]
Bulk actions can only be taken for single profile at a time.

Body Params

Serializer for creating (or bulk creating) profile reports.

The serializer validate

  1. duplicate profile reports
  2. report exists
  3. report visible
    (active genome file is checked in perms)

uuid
required
uuid
required
Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Response

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json