Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API v2: GET verification jobs endpoint #1901

Merged
merged 2 commits into from
Mar 3, 2025
Merged

API v2: GET verification jobs endpoint #1901

merged 2 commits into from
Mar 3, 2025

Conversation

manuelwedler
Copy link
Contributor

@manuelwedler manuelwedler commented Feb 5, 2025

New base PR for API v2 milestone. Progress tracked here: #1367

Any change for this feature should be created in a PR against this apiv2 branch.

Lookup endpoints were already merged: #1882

Now only includes the endpoint to get the verification jobs.

@marcocastignoli
Copy link
Member

marcocastignoli commented Mar 3, 2025

Let's change the title, remove deprecation from this PR, then merge it to staging

…al` tables (#1902)

* Add migrations for verification_jobs and verification_jobs_ephemeral tables

* Remove onchain codes from jobs table and add `creator_transaction_hash`
* Move API v2 related methods to bottom of SourcifyDatabaseService

* Remove status column from verification_jobs table

The status can be implicitly derived and is not needed for the API response

* Turn id of verification_jobs table into a uuid

* Add GET /v2/verify/{verificationId} endpoint

* Add tests for get job endpoint

* Add onchain bytecodes to verification_jobs_ephemeral table

* Update API v2 specs

* Make compilation_time a bigint

* Add compilationTime, bytecodes and creatorTransactionHash to GET job response
@manuelwedler manuelwedler changed the title API v2 API v2: GET verification jobs endpoint Mar 3, 2025
@manuelwedler manuelwedler merged commit 1e81913 into staging Mar 3, 2025
6 checks passed
@manuelwedler manuelwedler deleted the apiv2 branch March 3, 2025 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Sprint - Done
Development

Successfully merging this pull request may close these issues.

2 participants