Skip to content

Backend V2 #14

@sylv256

Description

@sylv256

A list of extra information that's important for implementing and using v2.

Language

In the specification, we use the definitions of MUST, MUST NOT, SHOULD, SHOULD NOT, and MAY as defined in RFC 2119.

Body Parsing

When parsing responses, parsers MUST accept unknown fields.

Permissions

Both user roles and project roles may have permissions. Below is a list of defined permissions.

Administrator

Mask: 0x1
Scope: ALL
Signifies that this user has every permission.

Manage Roles

Mask: 0x2
Scope: ALL
Create, edit, and manage roles for users or projects.

Edit Event

Mask: 0x4
Scope: USER
Create, edit, and hide events.

Moderate Users

Mask: 0x8
Scope: USER
Edit others' profiles and punish users.

Edit Profile

Mask: 0x10
Scope: USER
Edit your own profile.

Edit Project

Mask: 0x20
Scope: ALL
Edit this project.

Participate

Mask: 0x40
Scope: USER
Join, participate, and submit projects in events.

Upload to CDN

Mask: 0x80
Scope: USER
Upload files to the CDN.

Manage CDN

Mask: 0x100
Scope: USER
List, modify, and delete files in the CDN.

Modify API Key

Mask: 0x200
Scope: ALL
Generate and delete API keys on behalf of this user or project.

Sub-issues

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions