Skip to content

Missing get Actor default build method #667

Open
@drobnikj

Description

@drobnikj

The API allows getting the default build of the Actor using
GET /v2/acts/${actorId}/builds/default
This method is not supported by the client.

There are two options how to do it in the client:

  • ApifyClient.actor('my-actor').getBuild('default') // or .getBuild('0.1.2') or .getBuild('latest')
  • ApifyClient.actor('my-actor').defaultBuild()

Since we have .lastRun(), for consistency, it would make sense to have .defaultBuild().

We should do this in the Python client too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendIssues related to the platform backend.debtCode quality improvement or decrease of technical debt.good first issueGood for newcomers.medium priorityMedium priority issues to be done in a couple of sprints.t-platformIssues with this label are in the ownership of the platform team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions