Skip to main content
PUT

Overview

Not in MVP scope. Until this call is available, the weights stay at the first-trial setting: views = 1 and every other weight 0.
The Set Weights API sets how the four model outputs combine into the publish score, w_v·P(views) + w_c·P(comments) + w_u·P(up) − w_d·downvote_share. DCinside chooses the weights and the version name. The new weights apply from the next cycle, and every cycle response carries the weights_version that produced its scores.
The first trial sets views to 1 and the rest to 0, so the score equals p_views. The example on this page is that setting.
If the request fails validation, the previous weights stay in force and nothing changes. hide and deletion are reserved for later heads and must be 0 or left out. At least one of views, comments and up must be above 0.

Cadence

When you change them

There is no schedule. Send new weights whenever DCinside wants to change the ranking.

Takes effect next cycle

The response names the first cycle the weights apply to. Read the current and previous version with GET /v1/weights.

Request Attributes

string
required
Chosen by DCinside. Letters, digits, ., _ and -, up to 64 characters. Never reused: the same version with the same body is accepted again, and with a different body it returns 409.
object
required
Publish-score weights. At least one of views, comments and up must be above 0.
string
Optional, up to 500 characters.

Response Attributes

string
required
The version now in force.
string
required
The first cycle the weights apply to, which is the next one.

Authorizations

Authorization
string
header
required

The API key issued for the environment, sent as the whole header value. Two keys are valid during a rotation.

Body

application/json
version
string
required

Chosen by DCinside. Letters, digits, ., _ and -, up to 64 characters. Never reused: the same version with the same body is accepted again, and with a different body it returns 409.

Pattern: ^[A-Za-z0-9._-]{1,64}$
Example:

"w-1"

weights
object
required

Publish-score weights. At least one of views, comments and up must be above 0.

note
string

Optional, up to 500 characters.

Maximum string length: 500
Example:

"first trial: views only"

Response

Accepted.

version
string
required

The version now in force.

Example:

"w-1"

first_cycle_time
string<date-time>
required

The first cycle the weights apply to, which is the next one.

Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:[0-5][05]:00\+09:00$
Example:

"2026-09-29T02:10:00+09:00"