aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-spec/src/headers.ts
blob: 152254c9fb6f516e13891343624543ce3a93885f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
export const headers = {
    'X-Rate-Limit-Limit': {
        description: `The maximum number of requests you're permitted to make per hour.`,
        schema: {
            type: 'integer',
        },
    },
    'X-Rate-Limit-Remaining': {
        description: 'The number of requests remaining in the current rate limit window.',
        schema: {
            type: 'integer',
        },
    },
    'X-Rate-Limit-Reset': {
        description: 'The time at which the current rate limit window resets in UTC epoch seconds.',
        schema: {
            type: 'integer',
        },
    },
};