Skip to content

API mismatch with reality? #148

Closed
Closed
@SoftwareApe

Description

@SoftwareApe

Version in use

I'm using version 0.7.4 with the current version of Azure DevOps (which as far as I can tell is still the same API version 7.1.

Case 1

When using the pipeline_client to get a current pipeline I'm getting errors of the sort:

context: Full(Custom { kind: DataConversion, error: Error("missing field ``id``", line: 1, column: 455) }.

However looking inside the response an "id" field is present. So the error message seems wrong

Case 2

When using the runs_client on the same pipeline I'm getting this error:

context: Full(Custom { kind: DataConversion, error: Error("missing field ``finishedDate``", line: 1, column: 1723) }

finishedDateis indeed not part of the response. However this run isn't finished so I wouldn't expect it? I'm guessing this value should be optional and isn't.

Case 3

If I choose a run that has finished the response is ok.

Summary

I guess some of the API isn't covered correctly. This is especially an issue since I need unfinished runs from the API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions