Skip to content

[ISSUE] Jobs API: jobId inconsistent type #1311

@elgohr

Description

@elgohr

Description
Deviating types for jobId inside the API.
One time it's an int64, other times it's a string.

GetByJobId(ctx context.Context, jobId int64) (*Job, error)

GetPermissionLevelsByJobId(ctx context.Context, jobId string) (*GetJobPermissionLevelsResponse, error)

GetPermissionsByJobId(ctx context.Context, jobId string) (*JobPermissions, error)

Expected behavior
Consistent types

Metadata

Metadata

Assignees

No one assigned

    Labels

    not-an-sdk-bugIssue is not in the SDK (server-side, wrong repo, user config, etc.)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions