# Web API

Published articles for Web API.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Article: The App Is Just the Tip: What It Takes to Build Mobile Infrastructure at Scale

DevFeed: [Article: The App Is Just the Tip: What It Takes to Build Mobile Infrastructure at Scale](<https://devfeed.tech/articles/article-the-app-is-just-the-tip-what-it-takes-to-build-mobile-infrastructure-at-scale-116315.md>)

Original publisher: [Read original article](<https://www.infoq.com/articles/mobile-app-infrastructure-at-scale/>)

Author: Kirill Sokolov

Published: 2026-11-04T09:00:00Z

Content type: article

Language: en

Sources: [InfoQ](<https://devfeed.tech/sources/infoq.md>)

Topics: [mobile-app-performance](<https://devfeed.tech/topics/mobile-app-performance.md>), [software-architecture](<https://devfeed.tech/topics/software-architecture.md>), [Production Engineering](<https://devfeed.tech/topics/production-engineering.md>), [Android](<https://devfeed.tech/topics/android.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [about](<https://devfeed.tech/tags/about.md>), [android](<https://devfeed.tech/tags/android.md>), [api](<https://devfeed.tech/tags/api.md>), [app](<https://devfeed.tech/tags/app.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [article](<https://devfeed.tech/tags/article.md>), [build](<https://devfeed.tech/tags/build.md>), [design](<https://devfeed.tech/tags/design.md>), [development](<https://devfeed.tech/tags/development.md>), [enterprise-architecture](<https://devfeed.tech/tags/enterprise-architecture.md>), [exists](<https://devfeed.tech/tags/exists.md>), [fast](<https://devfeed.tech/tags/fast.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [ios](<https://devfeed.tech/tags/ios.md>), [layer](<https://devfeed.tech/tags/layer.md>), [live](<https://devfeed.tech/tags/live.md>), [microservices](<https://devfeed.tech/tags/microservices.md>), [migrate](<https://devfeed.tech/tags/migrate.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [mobile-app-infrastructure-at-scale](<https://devfeed.tech/tags/mobile-app-infrastructure-at-scale.md>), [operating-systems](<https://devfeed.tech/tags/operating-systems.md>), [product](<https://devfeed.tech/tags/product.md>), [rest](<https://devfeed.tech/tags/rest.md>), [safety](<https://devfeed.tech/tags/safety.md>), [scale](<https://devfeed.tech/tags/scale.md>), [soa](<https://devfeed.tech/tags/soa.md>), [stable](<https://devfeed.tech/tags/stable.md>), [takes](<https://devfeed.tech/tags/takes.md>), [this](<https://devfeed.tech/tags/this.md>), [traffic](<https://devfeed.tech/tags/traffic.md>), [web-api](<https://devfeed.tech/tags/web-api.md>), [web-services](<https://devfeed.tech/tags/web-services.md>)

### AI overview

A server-side mobile gateway can reduce client work and speed screen delivery: in the author's e-commerce platform, moving aggregation, feature flags, and error handling off-device cut product-detail render time roughly in half and reduced network calls from five to seven to one. The gateway added a critical dependency and operational burden, so the team used multi-zone redundancy and defined downstream failure behavior with a product-engineering criticality matrix. For UI control, full SDUI offered more flexibility but required a mature renderer and strict compatibility; data-only aggregation improved performance but retained app-release delays. The team chose a hybrid model, allowing server-side changes to section order, visibility, and experiments while new section types still required an app release. Migration used shadow comparisons, canaries, gradual traffic increases, and automated rollback thresholds because production-scale staging was unavailable.

### Source excerpt

What determines whether your app feels fast, ships often, and stays stable at scale is not the app itself. It is what sits behind it. This article is about that layer: what it does, why it exists, what it takes to design it correctly, and what happens when you try to migrate a live, high-traffic product onto it without a safety net. By Kirill Sokolov

## WAR-CRAFT: Refining Web API Recommendations through Requirement Auditing

DevFeed: [WAR-CRAFT: Refining Web API Recommendations through Requirement Auditing](<https://devfeed.tech/articles/war-craft-refining-web-api-recommendations-through-requirement-auditing-115052.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.00564>)

Author: Zishuo Xu, Dezhong Yao, Zhiqiang Xu

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [API](<https://devfeed.tech/topics/api.md>), [audit](<https://devfeed.tech/topics/audit.md>), [AI Foundation Models](<https://devfeed.tech/topics/ai-foundation-models.md>), [OpenAPI Specification](<https://devfeed.tech/topics/openapi.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [apis](<https://devfeed.tech/tags/apis.md>), [auditing](<https://devfeed.tech/tags/auditing.md>), [audits](<https://devfeed.tech/tags/audits.md>), [capabilities](<https://devfeed.tech/tags/capabilities.md>), [catalog](<https://devfeed.tech/tags/catalog.md>), [code](<https://devfeed.tech/tags/code.md>), [coverage](<https://devfeed.tech/tags/coverage.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [functional](<https://devfeed.tech/tags/functional.md>), [generative](<https://devfeed.tech/tags/generative.md>), [llm](<https://devfeed.tech/tags/llm.md>), [recommendation](<https://devfeed.tech/tags/recommendation.md>), [recommendations](<https://devfeed.tech/tags/recommendations.md>), [redundancy](<https://devfeed.tech/tags/redundancy.md>), [request](<https://devfeed.tech/tags/request.md>), [resolver](<https://devfeed.tech/tags/resolver.md>), [upstream](<https://devfeed.tech/tags/upstream.md>), [web](<https://devfeed.tech/tags/web.md>), [web-api](<https://devfeed.tech/tags/web-api.md>)

### AI overview

WAR-CRAFT refines a frozen Web API recommender by checking its output against provider documentation and request requirements. An LLM jointly removes unsupported or subsumed APIs, then a requirement audit identifies gaps; a fine-tuned, catalog-constrained Resolver proposes an API or abstains, and an independent documentation check admits only supported proposals. On ProgrammableWeb across seven upstream recommenders, mean SetF1 rose from 0.558 to 0.644, exceeding the strongest of five refinement baselines (62.5%). Functional redundancy roughly halved, from 0.127 to 0.065, while mean functional coverage stayed unchanged. Gains varied by recommender type (+2.2 points for generative recommenders and +18.2 for fixed-cutoff rankers); WAR-CRAFT also outperformed output truncation at matched set sizes.

### Source excerpt

arXiv:2611.00564v1 Announce Type: new Abstract: Web API recommenders return a set of APIs for a mashup request but do not check it against provider documentation, the main public evidence of an API's capabilities. The set can therefore contain unsupported or redundant APIs and miss requested capabilities. Filling every apparent gap does not fix this, because a gap may already be served, may not need its own API, or may have no documented provider. We study post-recommendation refinement, which revises a frozen recommender's output using only the request, the catalog, and provider documentation. We propose WAR-CRAFT, which treats refinement as three decisions. An LLM removes unsupported or subsumed APIs by judging candidates jointly, then audits the remaining set against a requirement checklist derived from the request. For each uncovered requirement, a fine-tuned catalog-constrained Resolver proposes a catalog API or abstains, and an independent documentation check admits only supported proposals. On ProgrammableWeb with 7 heterogeneous upstream recommenders, WAR-CRAFT raises mean SetF1 from 0.558 to 0.644, above the strongest of 5 refinement baselines (62.5%), and roughly halves functional redundancy (0.127 to 0.065) without changing mean functional coverage. Gains range from +2.2 points on generative recommenders to +18.2 on fixed-cutoff rankers. At matched set sizes, WAR-CRAFT still outperforms truncating the upstream output, so the gain is not explained by set-size calibration alone. Our code is available at https://github.com/ZsXu-enrico/WAR-CRAFT.

## C# 15 Union Types for API Results: Examples, Trade-Offs, and Migration

DevFeed: [C# 15 Union Types for API Results: Examples, Trade-Offs, and Migration](<https://devfeed.tech/articles/c-15-union-types-for-api-results-examples-trade-offs-and-migration-92884.md>)

Original publisher: [Read original article](<https://www.syncfusion.com/blogs/post/csharp-15-union-types-api-results>)

Author: Arunachalam Kandasamy Raja

Published: 2026-10-21T14:17:46Z

Content type: article

Language: en

Sources: [Syncfusion](<https://devfeed.tech/sources/syncfusion-blogs.md>)

Topics: [union types](<https://devfeed.tech/topics/union-types.md>), [ASP.NET](<https://devfeed.tech/topics/aspnet.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [asp-net-core](<https://devfeed.tech/tags/asp-net-core.md>), [business](<https://devfeed.tech/tags/business.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [c-sharp-15](<https://devfeed.tech/tags/c-sharp-15.md>), [c-sharp-15-union-types](<https://devfeed.tech/tags/c-sharp-15-union-types.md>), [c-sharp-discriminated-unions](<https://devfeed.tech/tags/c-sharp-discriminated-unions.md>), [c-sharp-result-pattern](<https://devfeed.tech/tags/c-sharp-result-pattern.md>), [c-sharp-union-types](<https://devfeed.tech/tags/c-sharp-union-types.md>), [c-sharp-union-types-in-asp-net-core](<https://devfeed.tech/tags/c-sharp-union-types-in-asp-net-core.md>), [cases](<https://devfeed.tech/tags/cases.md>), [compare](<https://devfeed.tech/tags/compare.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [examples](<https://devfeed.tech/tags/examples.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [migration](<https://devfeed.tech/tags/migration.md>), [net-11](<https://devfeed.tech/tags/net-11.md>), [net-development](<https://devfeed.tech/tags/net-development.md>), [net-development-asp-net-core-c-sharp-software-architecture-web-platform-apis-what-s-new](<https://devfeed.tech/tags/net-development-asp-net-core-c-sharp-software-architecture-web-platform-apis-what-s-new.md>), [net-sdk](<https://devfeed.tech/tags/net-sdk.md>), [results](<https://devfeed.tech/tags/results.md>), [software-architecture](<https://devfeed.tech/tags/software-architecture.md>), [software-development](<https://devfeed.tech/tags/software-development.md>), [types](<https://devfeed.tech/tags/types.md>), [union](<https://devfeed.tech/tags/union.md>), [union-types](<https://devfeed.tech/tags/union-types.md>), [web-api](<https://devfeed.tech/tags/web-api.md>), [web-platform-apis](<https://devfeed.tech/tags/web-platform-apis.md>), [what-s-new](<https://devfeed.tech/tags/what-s-new.md>)

### AI overview

C# 15 union types represent a fixed set of result cases and let the compiler flag unhandled cases in switch expressions. In the ASP.NET Core example, a service returns distinct order outcomes while a controller maps them to HTTP responses, keeping business logic separate from HTTP handling. Unions suit closed sets of expected outcomes; interfaces better fit extensible implementations, and an established Result<T> may already meet a project's needs. Generated unions store cases through object?, so value types may box; the text recommends measuring performance-sensitive use. JSON deserialization can be ambiguous when structural case shapes overlap, and explicit polymorphic serialization may suit APIs needing a stable discriminator. Because unions are preview features in the C# 15/.NET 11 development cycle, migration guidance is to update internal consumers first and check response contracts, OpenAPI, generated clients, and serialized or persisted data before removing an old result model.

### Source excerpt

Learn how C# 15 union types simplify ASP.NET Core API results, compare with existing C# patterns, and help you decide when to adopt them.

## How to use Apollo Client with Remix

DevFeed: [How to use Apollo Client with Remix](<https://devfeed.tech/articles/how-to-use-apollo-client-with-remix-23385.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/how-to-use-apollo-client-with-remix>)

Author: Janessa Garrow

Published: 2022-10-12T12:00:00Z

Content type: tutorial

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [Remix](<https://devfeed.tech/topics/remix.md>), [apollo-client](<https://devfeed.tech/topics/apollo-client.md>), [Server-side rendering](<https://devfeed.tech/topics/server-side-rendering.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [api-s](<https://devfeed.tech/tags/api-s.md>), [apollo](<https://devfeed.tech/tags/apollo.md>), [apollo-client](<https://devfeed.tech/tags/apollo-client.md>), [browser](<https://devfeed.tech/tags/browser.md>), [caching](<https://devfeed.tech/tags/caching.md>), [developer-experience](<https://devfeed.tech/tags/developer-experience.md>), [express](<https://devfeed.tech/tags/express.md>), [framework](<https://devfeed.tech/tags/framework.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [hooks](<https://devfeed.tech/tags/hooks.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [packages](<https://devfeed.tech/tags/packages.md>), [remix](<https://devfeed.tech/tags/remix.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [server](<https://devfeed.tech/tags/server.md>), [ssr](<https://devfeed.tech/tags/ssr.md>), [user-experience](<https://devfeed.tech/tags/user-experience.md>), [web-api](<https://devfeed.tech/tags/web-api.md>)

### AI overview

The excerpt frames the article as a guide to using Apollo Client with Remix for server-rendered pages, so developers can use Apollo hooks and caching. It introduces Remix as both a server and browser runtime, notes motivations such as developer experience and migrating an existing Apollo app, and begins setup with a Remix app and Apollo packages. The excerpt ends while describing the relevant server-rendering files; it does not provide the actual integration steps.

### Source excerpt

Remix is a newer JavaScript web framework that focuses on using native web API's to improve the user experience by providing fast page loads and transitions. It's both a server and browser runtime, which means you can render your pages and make requests on the server (SSR) or wait to do it in the browser. What if you want to use SSR and Apollo Client together?

## Diving Into Electron Web API Permissions

DevFeed: [Diving Into Electron Web API Permissions](<https://devfeed.tech/articles/diving-into-electron-web-api-permissions-92017.md>)

Original publisher: [Read original article](<https://blog.doyensec.com/2022/09/27/electron-api-default-permissions.html>)

Published: 2022-09-26T22:00:00Z

Content type: article

Language: en

Sources: [Doyensec](<https://devfeed.tech/sources/doyensec.md>)

Topics: [Electron](<https://devfeed.tech/topics/electron.md>), [Access Control](<https://devfeed.tech/topics/access-control.md>), [XSS](<https://devfeed.tech/topics/xss.md>)

Tags: [app-permissions](<https://devfeed.tech/tags/app-permissions.md>), [auditing](<https://devfeed.tech/tags/auditing.md>), [automation](<https://devfeed.tech/tags/automation.md>), [doyensec](<https://devfeed.tech/tags/doyensec.md>), [doyensecurity](<https://devfeed.tech/tags/doyensecurity.md>), [electron](<https://devfeed.tech/tags/electron.md>), [exploit](<https://devfeed.tech/tags/exploit.md>), [hacking](<https://devfeed.tech/tags/hacking.md>), [infosec](<https://devfeed.tech/tags/infosec.md>), [offensive](<https://devfeed.tech/tags/offensive.md>), [pentest](<https://devfeed.tech/tags/pentest.md>), [pentester](<https://devfeed.tech/tags/pentester.md>), [permissions](<https://devfeed.tech/tags/permissions.md>), [reverse-engineering](<https://devfeed.tech/tags/reverse-engineering.md>), [security](<https://devfeed.tech/tags/security.md>), [security-and-privacy](<https://devfeed.tech/tags/security-and-privacy.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>), [web-api](<https://devfeed.tech/tags/web-api.md>)

### AI overview

Electron's default permission handling can expose sensitive web APIs to a compromised renderer. The excerpt reports that webcam and microphone access, clipboard reading, notifications, idle detection, and local font access are granted by default; local font access bypasses the main-process permission handler. Electron groups camera, microphone, and media capture under one "media" permission, while screen recording also requires a source configured through desktopCapturer. Electron permits enumeration of media devices even when access is denied. File reads are granted after a user selects a file or directory, without Chrome's access notice or restrictions on sensitive locations; file writes are always denied. The article recommends denying permissions by default with a Session permission handler, allowing only needed requests after checking the origin, and resetting the handler to null so previously granted permissions are requested again.

### Source excerpt

Introduction When a Chrome user opens a site on the Internet that requests a permission, Chrome displays a large prompt in the top left corner. The prompt remains visible on the page until the user interacts with it, reloads the page, or navigates away. The permission prompt has Block and Allow buttons, and an option to close it. On top of this, Chrome 98 displays the full prompt only if the permission was triggered "through a user gesture when interacting with the site itself". These precautionary measures are the only things preventing a malicious site from using APIs that could affect user privacy or security. Since Chrome implements this pop-up box, how does Electron handle permissions? From Electron's documentation: "In Electron the permission API is based on Chromium and implements the same types of permissions. By default, Electron will automatically approve all permission requests unless the developer has manually configured a custom handler. While a solid default, security-conscious developers might want to assume the very opposite." This approval can lead to serious security and privacy consequences if the renderer process of the Electron application were to be compromised via unsafe navigation (e.g., open redirect, clicking links) or cross-site scripting. We decided to investigate how Electron implements various permission checks to compare Electron's behavior to that of Chrome and determine how a compromised renderer process may be able to abuse web APIs. Webcam, Microphone, and Screen Recording Permissions The webcam, microphone, and screen recording functionalities present a serious risk to users when approval is granted by default. Without implementing a permission handler, an Electron app's renderer process will have access to a user's webcam and microphone. However, screen recording requires the Electron app to have configured a source via a desktopCapturer in the main process. This leaves little room for exploitability from the renderer process, un

## API Development Tips

DevFeed: [API Development Tips](<https://devfeed.tech/articles/api-development-tips-20739.md>)

Original publisher: [Read original article](<https://blog.fedecarg.com/2018/06/18/api-development-tips/>)

Author: Federico

Published: 2018-06-18T12:45:00Z

Content type: tutorial

Language: en

Sources: [Federico Cargnelutti](<https://devfeed.tech/sources/federico-cargnelutti.md>)

Topics: [programming-tips](<https://devfeed.tech/topics/programming-tips.md>), [API](<https://devfeed.tech/topics/api.md>), [versioning](<https://devfeed.tech/topics/versioning.md>), [API Logging](<https://devfeed.tech/topics/api-logging.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [health check](<https://devfeed.tech/topics/health-check.md>), [Back end](<https://devfeed.tech/topics/backend.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [api-development](<https://devfeed.tech/tags/api-development.md>), [apis](<https://devfeed.tech/tags/apis.md>), [back-end](<https://devfeed.tech/tags/back-end.md>), [black](<https://devfeed.tech/tags/black.md>), [box](<https://devfeed.tech/tags/box.md>), [cables](<https://devfeed.tech/tags/cables.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [development](<https://devfeed.tech/tags/development.md>), [failure](<https://devfeed.tech/tags/failure.md>), [future](<https://devfeed.tech/tags/future.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [open-web](<https://devfeed.tech/tags/open-web.md>), [pitfalls](<https://devfeed.tech/tags/pitfalls.md>), [plan](<https://devfeed.tech/tags/plan.md>), [releases](<https://devfeed.tech/tags/releases.md>), [software-architecture](<https://devfeed.tech/tags/software-architecture.md>), [standards](<https://devfeed.tech/tags/standards.md>), [test](<https://devfeed.tech/tags/test.md>), [tips](<https://devfeed.tech/tags/tips.md>), [web](<https://devfeed.tech/tags/web.md>), [web-api](<https://devfeed.tech/tags/web-api.md>), [web-services](<https://devfeed.tech/tags/web-services.md>)

### AI overview

The excerpt recommends designing open web APIs for failure across back-end systems, network interconnections, and external dependencies. It advises testing user-visible behavior with end-to-end black-box tests, replaying access logs, and validating response payloads; planning and announcing versions; and following standards to keep APIs predictable and avoid difficult migrations. It also recommends monitoring trends, communicating honestly, returning well-formed errors, making monitoring easy, and limiting the impact of failures by considering who is affected most.

### Source excerpt

Organisations who are paying attention already know they need to have an open web API, and many already have under development or in the wild. Make sure you haven't been caught by the pitfalls of many early API releases. Multiple points of failure: The 5 tips Test it all Plan for future versions Embrace standards [...]